It feels to me that every big hate wave against some programming language is based on some type inference/casting behavior and nothing else.
Why does nobody say C is the worst and most cursed programming language because if you use pointers wrong your program goes *boom*?
Comments
Displaying 0 of 1 comments
Sigma
@tsia_@chaos.social Hmm, for me personally the top reason for disliking a language is when it doesn't behave in a way I expect.
So for example, in JS:
(1<<30) > (1 << 31)
butMath.pow(2, 30) < Math.pow(2, 31)
It makes sense when you know how bit-wise operations work under the hood in JS. But it is still kinda confusing.
And C - for all its faults - is actually really logical most of the time. Probably because it's so simple compared to more modern languages.
@sigmasternchen yea ok C wasn’t the best example and I’m definitely not saying it’s a bad language (I’m just too stupid for it).
by tsia ;
Mentions: @tsia_@chaos.social
Likes: 0
Replies: 1
Boosts: 0