i will never forgive them for making the pointer type be T*
instead of &T
. most confusing thing ever.
don’t even get me started on C++ making T&
the reference type and then making T&&
be something other than the double reference type.
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
i will never forgive them for making the pointer type be T*
instead of &T
. most confusing thing ever.
don’t even get me started on C++ making T&
the reference type and then making T&&
be something other than the double reference type.
I always thought T&&
made sense as a movable reference. In order to move something, you need to change where the reference points, so conceptually you need a reference to the original reference to update it. (Effectively a double reference)
I know this is a joke but it's still wild to me that programming languages aren't localised.
I guess it would make it way more complicated to use other peoples code if that where the case.
You think that about math not being localized too?
There are some local differences in math notation, e.g. .
vs. ,
as a decimal separator, •
vs. ×
for multiplication, :
vs ÷
for division et cetera.
Industrial controls equipment made by German companies can be programmed in English or German. You can also switch languages (German/English) at any time and the IDE switches over all the keywords.
Considering that using a keyword to name anything results in compiler (or worse! Interpreter) errors, and that libraries are a thing. And also that copy-pasting code from the internet is a thing. I don't think it would be a good idea to localize programming languages.
It's called java.
I'll just leave this here, "An Introduction to German for ABAP/4 Programmer" (SAP):
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.
Oh? You want composit(ion)? Over inheritance maybe?
Mine gott
Ouch.