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

Programmer Humor

32494 readers
568 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] 38 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.

[–] [email protected] 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.

[–] [email protected] 15 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...

[–] [email protected] 8 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.

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

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

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

Good point. Why stop there?

https://xkcd.com/378/

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

Strong types are really just healthy, clearly defined boundaries

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

These days that's still python

[–] [email protected] 7 points 10 months ago (1 children)

You just described my life. JS is hell.

[–] [email protected] 7 points 10 months ago (1 children)

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

[–] [email protected] 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.

[–] [email protected] 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?

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

Try typescript