merari42@lemmy.world to Programmer Humor@programming.dev · 1 month agoI want a programming language that supports German style composite wordslemmy.worldexternal-linkmessage-square115fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkI want a programming language that supports German style composite wordslemmy.worldmerari42@lemmy.world to Programmer Humor@programming.dev · 1 month agomessage-square115fedilink
minus-squarejaybone@lemmy.worldlinkfedilinkarrow-up0·1 month 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·1 month agoAnd then why is Ganz in caps. I call cap on German C.
minus-squarewischi@programming.devlinkfedilinkarrow-up0·edit-21 month agoCould be because Ganz is short for Ganzzahl and a noun.
minus-squarereinei@lemmy.worldlinkfedilinkarrow-up0·1 month agoSo Nat Fibonacci(Nat n) { …} ? Because Ganz would be signed int so Nat should be unsigned int?
minus-squarewischi@programming.devlinkfedilinkarrow-up0·1 month 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