merari42@lemmy.world to Programmer Humor@programming.dev · 4 days agoI want a programming language that supports German style composite wordslemmy.worldimagemessage-square123fedilinkarrow-up1782arrow-down15
arrow-up1777arrow-down1imageI want a programming language that supports German style composite wordslemmy.worldmerari42@lemmy.world to Programmer Humor@programming.dev · 4 days agomessage-square123fedilink
minus-squarejaybone@lemmy.worldlinkfedilinkarrow-up8·4 days agoWhy is main capitalized but not printf??? If they are trying to follow German rules where nouns are capitalized, I guess this explains why their version of int would be capitalized, but that’s super annoying. Maybe C# is based on this.
minus-squarerooroo@feddit.orglinkfedilinkarrow-up5·4 days agoAnd then why is Ganz in caps. I call cap on German C.
minus-squarewischi@programming.devlinkfedilinkarrow-up6·edit-24 days agoCould be because Ganz is short for Ganzzahl and a noun.
minus-squarereinei@lemmy.worldlinkfedilinkarrow-up2·4 days agoSo Nat Fibonacci(Nat n) { …} ? Because Ganz would be signed int so Nat should be unsigned int?
minus-squarewischi@programming.devlinkfedilinkarrow-up2·4 days agoI’d suggest “vorzeichnenbehaftete Ganzzahl” (maybe vbGanz) and “vorzeichenlose Ganzzahl” (vlGanz) 🤣 please don’t make that a thing
minus-squareanton@lemmy.blahaj.zonelinkfedilinkarrow-up0·4 days agoShort for Ganzzahl, like int for integer.
Why is main capitalized but not printf???
If they are trying to follow German rules where nouns are capitalized, I guess this explains why their version of int would be capitalized, but that’s super annoying. Maybe C# is based on this.
And then why is Ganz in caps. I call cap on German C.
Could be because Ganz is short for Ganzzahl and a noun.
So Nat Fibonacci(Nat n) { …} ? Because Ganz would be signed int so Nat should be unsigned int?
I’d suggest “vorzeichnenbehaftete Ganzzahl” (maybe vbGanz) and “vorzeichenlose Ganzzahl” (vlGanz) 🤣 please don’t make that a thing
Makes sense but ugh
Short for Ganzzahl, like int for integer.