this post was submitted on 03 Jan 2024
928 points (93.8% liked)

Programmer Humor

32361 readers
294 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
[–] jubilationtcornpone@sh.itjust.works 37 points 10 months ago (3 children)

My relationship with JavaScript is more like an abusive relationship that I can't escape from because it pays all the bills.

[–] theherk@lemmy.world 26 points 10 months ago (1 children)

It’s worth going hungry in the dark. Lawyer up and hit the gym. JS doesn’t deserve you.

[–] MajorHavoc@lemmy.world 14 points 10 months ago (1 children)

And a Python developer is born!

Source: I moved on from an abusive relationship with JavaScript to a healthy not-at-all-controlling equal partner relationship with Python. And four spaces makes perfect sense, once I really considered Python's point of view...

[–] theherk@lemmy.world 7 points 10 months ago (3 children)

You don’t have to go from crazy to slightly less crazy. You could try living that lean compiled life.

[–] DrJenkem@lemmy.blugatch.tube 3 points 10 months ago (1 children)

We can go leaner. Why use a compiler when an assembler is all you need?

[–] theherk@lemmy.world 2 points 10 months ago

Good point. Why stop there?

https://xkcd.com/378/

[–] FierySpectre@lemmy.world 2 points 10 months ago

These days that's still python

[–] traches@sh.itjust.works 2 points 10 months ago

Strong types are really just healthy, clearly defined boundaries

[–] orca@orcas.enjoying.yachts 7 points 10 months ago (1 children)

You just described my life. JS is hell.

[–] naught@sh.itjust.works 7 points 10 months ago (1 children)

You guys are using typescript right? .... right?

[–] jubilationtcornpone@sh.itjust.works 3 points 10 months ago (1 children)

Yes. However, The same cannot be said for every other dev on the project.

Typescript helps a lot but JS still lacks a lot of the functionality, and especially the tooling, available in other frameworks.

Going from ASP.Net Core to NestJS is like digging holes with a shovel instead of a backhoe. It feels like a huge downgrade. And then half your time is spent dealing with the incredibly finicky dev environment.

I am not impressed.

[–] naught@sh.itjust.works 1 points 10 months ago* (last edited 10 months ago)

Interesting! I have built several projects entirely in TS or with react/next frontends and I enjoy the DX a lot now that I have the experience with the overwhelming breadth of options out there. It was very frustrating and overwhelming for me at first though. I found Dockerizing to help with consistency and finickiness.

Just curious, what are you missing most from asp.net core?

[–] fidodo@lemmy.world 2 points 10 months ago

Try typescript