merari42@lemmy.world to Programmer Humor@programming.dev · 6 days agoI want a programming language that supports German style composite wordslemmy.worldexternal-linkmessage-square112fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkI want a programming language that supports German style composite wordslemmy.worldmerari42@lemmy.world to Programmer Humor@programming.dev · 6 days agomessage-square112fedilink
minus-squarejaybone@lemmy.worldlinkfedilinkarrow-up0·5 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-up0·5 days agoAnd then why is Ganz in caps. I call cap on German C.
minus-squarewischi@programming.devlinkfedilinkarrow-up0·edit-25 days agoCould be because Ganz is short for Ganzzahl and a noun.
minus-squarereinei@lemmy.worldlinkfedilinkarrow-up0·5 days agoSo Nat Fibonacci(Nat n) { …} ? Because Ganz would be signed int so Nat should be unsigned int?
minus-squarewischi@programming.devlinkfedilinkarrow-up0·5 days agoI’d suggest “vorzeichnenbehaftete Ganzzahl” (maybe vbGanz) and “vorzeichenlose Ganzzahl” (vlGanz) 🤣 please don’t make that a thing
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