this post was submitted on 13 Aug 2023
344 points (94.3% liked)

Programmer Humor

32241 readers
194 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 12 comments
sorted by: hot top controversial new old
[–] s08nlql9@lemm.ee 18 points 1 year ago (1 children)

i want to see the original, where can i find source?

[–] yogthos@lemmy.ml 20 points 1 year ago

It's a comic by Hannah Hillam

[–] wgs@lemmy.sdf.org 10 points 1 year ago

I've recently started writing JS recently, after writing C, go, shell and ruby for years.

Ended up with this gem in my code:

var total = +qty + +pool[0] - +pool[1];

I hate it.

[–] voxl@sh.itjust.works 9 points 1 year ago (1 children)

Well, I love it! So there! Muahahhahahaahaa

[–] yogthos@lemmy.ml 20 points 1 year ago (1 children)
[–] voxl@sh.itjust.works 4 points 1 year ago* (last edited 1 year ago)

Haha hey it brings in the money! I’m almost exclusively doing devops now (terraform makes me drool) but I can fix your php, ruby, js, give me anything man, I’ll learn it.

I just have no problems with the weirdness of js. I weirdly like it. Love receiving a comment on a PR “wtf why do you do it like this? This is much easier: something_i_already_tried”.

[–] DarkenLM@artemis.camp 7 points 1 year ago

Anything is a nail if you hammer it hard enough.

Though modern JS is way better than what it was before, and in my opinion is evolving in a good direction. It also pays my bills, so I couldn't complain even if I wanted.

[–] BellaDonna@mujico.org 3 points 1 year ago

Member Node.js? I member.

[–] i_am_hungry@meganice.online 2 points 1 year ago (1 children)

I'm making an app with SvelteKit, the frontend and the backend at the same time, in Typescript, I love it.

[–] FrostySpectacles@lemmy.ml 2 points 1 year ago

The SvelteKit + TypeScript combo is such a breeze to work with!

And compared to other languages, JavaScript scores pretty well in performance benchmarks. It has a lot more going for it than people give it credit for.

[–] roi@lemmy.blahaj.zone 1 points 1 year ago (1 children)
[–] yogthos@lemmy.ml -4 points 1 year ago

It's a slight improvement, but you're still inheriting the whole Js ecosystem, tooling, and most of the quirks of Js. There are far better languages you can use on the server, so I really don't understand the appeal of using a Js based backend.