merari42@lemmy.world to Programmer Humor@programming.dev · 2 months agoI want a programming language that supports German style composite wordslemmy.worldimagemessage-square127fedilinkarrow-up1855
arrow-up1855imageI want a programming language that supports German style composite wordslemmy.worldmerari42@lemmy.world to Programmer Humor@programming.dev · 2 months agomessage-square127fedilink
minus-squarejaybone@lemmy.worldlinkfedilinkarrow-up8·2 months 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-up6·2 months agoAnd then why is Ganz in caps. I call cap on German C.
minus-squarewischi@programming.devlinkfedilinkarrow-up6·edit-22 months agoCould be because Ganz is short for Ganzzahl and a noun.
minus-squarereinei@lemmy.worldlinkfedilinkarrow-up3·2 months agoSo Nat Fibonacci(Nat n) { …} ? Because Ganz would be signed int so Nat should be unsigned int?
minus-squarewischi@programming.devlinkfedilinkarrow-up2·2 months agoI’d suggest “vorzeichnenbehaftete Ganzzahl” (maybe vbGanz) and “vorzeichenlose Ganzzahl” (vlGanz) 🤣 please don’t make that a thing
minus-squareanton@lemmy.blahaj.zonelinkfedilinkarrow-up1·2 months 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.