merari42 to Programmer Humor@programming.dev · 1 month agoI want a programming language that supports German style composite wordsimagemessage-square127fedilinkarrow-up1823arrow-down15cross-posted to: [email protected][email protected]
arrow-up1818arrow-down1imageI want a programming language that supports German style composite wordsmerari42 to Programmer Humor@programming.dev · 1 month agomessage-square127fedilinkcross-posted to: [email protected][email protected]
minus-squarejaybonelinkfedilinkarrow-up7·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-up6·1 month agoAnd then why is Ganz in caps. I call cap on German C.
minus-squarewischi@programming.devlinkfedilinkarrow-up6·1 month agoMabe because Ganz is short for Ganzzahl and a noun.
minus-squarereineilinkfedilinkarrow-up3·1 month agoSo Nat Fibonacci(Nat n) { …} ? Because Ganz would be signed int so Nat should be unsigned int?
minus-squarewischi@programming.devlinkfedilinkarrow-up2·1 month agoI’d suggest “vorzeichnenbehaftete Ganzzahl” (maybe vbGanz) and “vorzeichenlose Ganzzahl” (vlGanz) 🤣 please don’t make that a thing
minus-squareanton@lemmy.blahaj.zonelinkfedilinkarrow-up1·1 month 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.
Mabe 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.