discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

request center==centre

HJ
Hugo Jackson
Wed, Mar 7, 2018 6:53 PM

Just in case someone’s counting, my preference would be to leave things as they are. All programming languages have their little idiosyncrasies that trip the programmer up from time to time and I’d continue to use OpenSCAD even if centre/center were spelled “centaur”, and I don’t personally feel slighted or inconvenience by the syntax conventions of any particular language. And if we go down this path, shouldn’t we also be concerned about the semantics of other items… shouldn’t we rebrand “cube()” as “cuboid()” and “square()” as “rectangle()”?
I may be biased by virtue of being Canadian, where we not only have two official languages but where our English is in an ongoing skirmish with both British and American spellings. Here, “centre” and “center” is just one example of words that can be spelled either way… we’ve got “color” and “colour” and “sympathize” and “sympathise”, “fulfill” and “fulfil” and a host of others. Can't we simply accept the fact that OpenSCAD has a mixed cultural heritage and leave it at that? I think the spelling of center/centre is trivial when compared to issues as variable scope, late binding and a host of other functional issues that remind OpenSCAD programmers that they're not in Kansas anymore and that regardless of how certain reserved words are spelled, this isn’t c.

On Mar 7, 2018, at 10:19 AM, arnholm@arnholm.org wrote:

On 2018-03-07 18:57, Michael Frey wrote:

Given how heated the discussion just got, I would like to re-center on
the technical side:

I am coming from a country of only 5 million with two official language variants. We have slightly different spellings of the country name on opposite sides of some bank notes (Norge/Noreg) :-)

If you go down this road I think it will never end. However if you really want to try you could perhaps
let cube(100,center=true) take the alternative forms cube(100,align='center') / cube(100,align='centre').

But then people might try things like cube(100,align='top') and expect something meaningful.

Carsten Arnholm


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Just in case someone’s counting, my preference would be to leave things as they are. All programming languages have their little idiosyncrasies that trip the programmer up from time to time and I’d continue to use OpenSCAD even if centre/center were spelled “centaur”, and I don’t personally feel slighted or inconvenience by the syntax conventions of any particular language. And if we go down this path, shouldn’t we also be concerned about the semantics of other items… shouldn’t we rebrand “cube()” as “cuboid()” and “square()” as “rectangle()”? I may be biased by virtue of being Canadian, where we not only have two official languages but where our English is in an ongoing skirmish with both British and American spellings. Here, “centre” and “center” is just one example of words that can be spelled either way… we’ve got “color” and “colour” and “sympathize” and “sympathise”, “fulfill” and “fulfil” and a host of others. Can't we simply accept the fact that OpenSCAD has a mixed cultural heritage and leave it at that? I think the spelling of center/centre is trivial when compared to issues as variable scope, late binding and a host of other functional issues that remind OpenSCAD programmers that they're not in Kansas anymore and that regardless of how certain reserved words are spelled, this isn’t c. > On Mar 7, 2018, at 10:19 AM, arnholm@arnholm.org wrote: > > On 2018-03-07 18:57, Michael Frey wrote: >> Given how heated the discussion just got, I would like to re-center on >> the technical side: > > I am coming from a country of only 5 million with two official language variants. We have slightly different spellings of the country name on opposite sides of some bank notes (Norge/Noreg) :-) > > If you go down this road I think it will never end. However if you *really* want to try you could perhaps > let cube(100,center=true) take the alternative forms cube(100,align='center') / cube(100,align='centre'). > > But then people might try things like cube(100,align='top') and expect something meaningful. > > Carsten Arnholm > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
A
arnholm@arnholm.org
Wed, Mar 7, 2018 7:04 PM

On 2018-03-07 19:53, Hugo Jackson wrote:

And if we go down this path,
shouldn’t we also be concerned about the semantics of other items…

I think you get my point :-)

shouldn’t we rebrand “cube()” as “cuboid()”

and “square()” as “rectangle()”?

On 2018-03-07 19:53, Hugo Jackson wrote: > And if we go down this path, > shouldn’t we also be concerned about the semantics of other items… I think you get my point :-) > shouldn’t we rebrand “cube()” as “cuboid()” https://github.com/arnholm/xcsg/wiki/cube https://github.com/arnholm/xcsg/wiki/cuboid > and “square()” as “rectangle()”? https://github.com/arnholm/xcsg/wiki/square https://github.com/arnholm/xcsg/wiki/rectangle It never really ends. Carsten Arnholm
R
runsun
Wed, Mar 7, 2018 7:19 PM

I've been hoping that we could have something like:

#DEFINE echo=off

that makes it easier to generate doc automatically.

MichaelPFrey wrote

#DEFINE centre center


$  Runsun Pan, PhD $ libs: scadx , doctest , faces ( git ), offline doc ( git ), runscad.py ( 2 , git ), editor of choice: CudaText  ( OpenSCAD lexer ); $ Tips ; $ Snippets

--
Sent from: http://forum.openscad.org/

I've been hoping that we could have something like: #DEFINE echo=off that makes it easier to generate doc automatically. MichaelPFrey wrote > #DEFINE centre center ----- $ Runsun Pan, PhD $ libs: scadx , doctest , faces ( git ), offline doc ( git ), runscad.py ( 2 , git ), editor of choice: CudaText ( OpenSCAD lexer ); $ Tips ; $ Snippets -- Sent from: http://forum.openscad.org/