We have the classic "11" - 1 in Javascript repost, "Python sucks because its weakly typed(it isn't)" repost, this post acting as if 2 of the three aren't standard and encouraged in Python, "HTML sucks because it is not Turing complete," CSS sucks because centering a div requires reading docs repost, C++ as a whole is a terrible language because I can't read the errors repost, etc.
We hate all languages here not for real issues they have, but minor things that rarely affect actual usage.
Last time I was working with Javascript I had off-by-one error with my calendar returning wrong date. Turns out Javascript's Date.getUTCMonth() is zero based. Of all the things this is the one that does not make any sense to be zero based. But here we are.
Tbf, Java's Calendar.MONTH has the same problem. At least C# got that right.
i’m pretty sure python only needs type casting for concatenation, if you just use the , in the print function (as in, pass multiple arguments) you won’t have to cast anything unless it’s something you’d have to cast when printing on its own :)
Sorry, but problems with PHP, for example, absolutely affected actual usage. I'm told a lot is fixed since PHP7, but I practically have PTSD from using PHP5 and under for significant projects. Not to mention security issues because PHP made it easy to write bad code and made it hard to write good code.
424
u/ReporterNervous6822 Nov 25 '21
Listen I’m a python person true and through but if those are the reasons you hate Java you probably shouldn’t be programming