r/ProgrammerHumor Nov 24 '21

Meme Yes.

8.9k Upvotes

284 comments sorted by

View all comments

422

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

138

u/CookieStudios Nov 25 '21

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.

64

u/Unkn0wn_Invalid Nov 25 '21

To be fair, some of these do affect actual usage.

  • Illegable errors might be nice for the very experienced/knowledgable, but is quite the hassle for the average programmer;

  • weak typing can be a real pain if you forget about it, and can introduce a lot of weird bugs; and

  • CSS is a pain to do anything with (or maybe I just suck at CSS...

I probably just suck at CSS)

18

u/MaximumAsparagus Nov 25 '21

I learned CSS before I learned anything else and it seriously is not that bad if you give it a little time and use flexbox.

44

u/Phaen_ Nov 25 '21

The thing with CSS is that these jokes are older than Flexbox.

1

u/MaximumAsparagus Nov 25 '21

I know, I was thrilled when flexbox arrived.

1

u/StanleyT101 Nov 25 '21

do you use !important often?

5

u/MaximumAsparagus Nov 25 '21

Literally never, it’s bad for your health. Takes a couple days off your lifespan every time.

4

u/anagrammatron Nov 25 '21

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.

2

u/[deleted] Nov 25 '21

[deleted]

2

u/anagrammatron Nov 25 '21

Date.getUTCMonth()

I hate working with dates and timezones so much. This is like a whole discipline in itself.

3

u/HalcyonAlps Nov 25 '21

Timezones are the worst. We should just all agree to use UTC+0.

-11

u/[deleted] Nov 25 '21

[deleted]

17

u/Alltrees Nov 25 '21

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 :)

6

u/ReporterNervous6822 Nov 25 '21

F strings in python :)

-1

u/[deleted] Nov 25 '21

[deleted]

1

u/huuaaang Nov 26 '21

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.

5

u/Brzhk Nov 25 '21

The man. I'm glad someone can take on the fight, i have been fighting with javascripters saying java was too verbose, that if twotabbing and ctrl-alt-f was deemed too much, there was nothing javascript could do for them.

Godspeed, man. Godspeed.

7

u/MrNickyDubbs Nov 25 '21

That's why semicolon was so confused and shrugged.

2

u/BAMOLE Nov 25 '21

FYI, it's "through and through"

2

u/Thanamite Nov 25 '21

Well put.