this post was submitted on 16 May 2024
367 points (96.9% liked)

Programmer Humor

31791 readers
33 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 11 points 3 months ago (1 children)

... until you run into a problem which you can't figure out on your own. Then you search the web, and only find how to do it with Y, instead of the technology you used which is called X. So after determining that you're truly stuck, you switch to Y. Until you get stuck again, you search the web, and can only find how to do it in Z. And everyone online tells you you're stupid to use X or Y in the first place. And the cycle continues.

This is why I gave up on being a web developer and stayed far away from JS.

[–] [email protected] 6 points 3 months ago (1 children)

I came from a cpp background and loved it the moment I saw it. Like, you mean I just go var foo = ... and then I can put anything? No type casting?? No types??? Finally, I was free.

But I've always been more of a hacker than a real programmer. I've since learned that there are advantages to using types, static checking, etc...

[–] [email protected] 14 points 3 months ago (2 children)

Don't ever come to me saying "finally I am free from types" very few things make me angry. Rejecting types is one of them.

Also its let foo and const foo depending on how you plan to use the variable...

[–] [email protected] 5 points 3 months ago

I mostly work in Python, but we use types at work. For a hack day project I skipped typing stuff for like an hour, and then went "wait this sucks" and added types. It was easier overall.

[–] [email protected] 2 points 3 months ago

There wasn't any let or const when I got into it hahaa