this post was submitted on 03 Oct 2025
539 points (98.7% liked)

Programmer Humor

26713 readers
948 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] sjmarf@sh.itjust.works 4 points 10 hours ago
[–] menas@lemmy.wtf 6 points 13 hours ago

bonus feature : you server is now a toaster. Well there is nowhere to pu bread, but your watt/heat ratio is definitely closer to toaster than with a decent stack

[–] hperrin@lemmy.ca 13 points 22 hours ago* (last edited 22 hours ago) (3 children)

I wrote an entire email service (https://port87.com/) in JavaScript (Node.js and SvelteKit). I know some people have strong feelings against JavaScript, but the fact that you can build basically anything in it is pretty nice.

[–] douglasg14b@lemmy.world 2 points 10 hours ago (1 children)

I mean yeah you can do anything with it like most other languages. The problem comes in with the unstable ecosystem JavaScript has.

You simply don't have longevity with libraries and frameworks. They churn and become deprecated far too quickly for really any stable project that requires a low maintenance burden.

[–] hperrin@lemmy.ca 3 points 9 hours ago

When I say “build anything”, I mean it works in nearly every environment, including natively in the browser. I can write the same code on the server as in the browser as in a mobile app as in a desktop app.

React has been around, and improving, for 12 years. You can run code from the first version today. The DOM has been stable since about 1998, so anything built on it should still run today.

It is true that JavaScript libraries tend to change quickly, but that doesn’t mean old versions stop working. It’s not like the native Linux ecosystem, where you need to build on the current kernel and libraries or it won’t work, it’s more like Docker or Flatpak, where you can build your libraries into your bundle and they will keep working. That’s why websites that were built 20 years ago, with the libraries of the time, still work today.

[–] iglou@programming.dev 4 points 13 hours ago

There is many languages that you can build anything with... Although I'll agree the front end side is more tedious

[–] Tja@programming.dev 3 points 14 hours ago

As long as you're not doing number crunching, use whatever makes you more productive.

[–] palordrolap@fedia.io 63 points 1 day ago (3 children)

I am old. I am still not over JavaScript existing outside of a browser. I'm not sure I ever will be. And that's from someone who uses a Linux DE that uses JavaScript and XML as part of its GUI.

[–] grue@lemmy.world 47 points 1 day ago (2 children)

I'm still mad about JavaScript existing at all.

[–] NotSteve_@piefed.ca 20 points 1 day ago (1 children)

I hate Microsoft but honestly Typescript makes JavaScript one of my favourite languages. Its how it should have been

[–] douglasg14b@lemmy.world 3 points 10 hours ago* (last edited 10 hours ago) (1 children)

Yes, typescript is my favorite language. There's literally no other language out there that is as expressive and has as strong of a type system as typescript. It is the master of making impossible states unrepresentable through meta programming. Being able to move domain complexity into the type system instead of into the runtime is some of the best ways you can reduce your runtime complexity and defects.

Though .net is my favorite ecosystem, by far. It's first party frameworks are unmatched in performance and developer experience. And its ecosystem is incredibly stable, unlike JavaScript. C# Is unfortunately a much less capable language from a type perspective than typescript though.

If C# got discriminated unions and strings as first class type citizens that would launch it pretty far.

[–] expr@programming.dev 1 points 8 hours ago

Umm, there are plenty of languages with a stronger, more expressive type system than Typescript. Like Haskell. And there are languages with an even stronger type system than Haskell (dependently-typed programming languages like Idris). Typescript, while having some small innovations and certainly an improvement over the rather sorry state of OOP type systems, is fairly low on the totem pole as far as type systems go. Also, Typescript's type system is famously not sound.

There's a ton of stuff Typescript simply can't do. Higher-kinded types, GADTs (type narrowing gives you a little bit of their functionality kinda, but misses a lot of stuff), etc... Not to mention that it has a fairly lackluster type inference system.

[–] tatann@lemmy.world 6 points 1 day ago (1 children)

I'm still mad about the inventor of JavaScript existing at all.

[–] ooterness@lemmy.world 3 points 1 day ago (1 children)

Invent a time machine, send a robot back in time to terminate their parents.

[–] dohpaz42@lemmy.world 9 points 1 day ago (2 children)

If you have an evening (or all weekend), and really want to blow your mind, look up Low Byte Productions on YouTube and look up their JavaScript videos.

[–] sheepishly@fedia.io 3 points 11 hours ago

Oh this sounds like my kind of entertainment...

[–] chad@sh.itjust.works 3 points 1 day ago* (last edited 1 day ago)

Oh my. I just found the JSfuck video.

[–] TheRedSpade@lemmy.world 5 points 1 day ago (1 children)

I am old. I am still not over JavaScript existing outside of a browser.

I'm in my mid thirties and didn't know this was a thing until now.

[–] vithigar@lemmy.ca 15 points 1 day ago* (last edited 1 day ago)

Even if you don't count desktop applications like VSCode or Discord or whatever that are written in primarily JavaScript due to those arguably just being packed inside their own little browser engine that they ship with, still yes.

Node.js is an extremely widely used JavaScript runtime environment that people are using to write server back ends and command line utilities and god knows what else in JavaScript.

[–] eager_eagle@lemmy.world 85 points 1 day ago (4 children)

[object Object]?

[object Object]

[–] TheBat@lemmy.world 33 points 1 day ago (5 children)

Feminists hate this (objectification)

load more comments (5 replies)
[–] slazer2au@lemmy.world 19 points 1 day ago (1 children)
[–] lena@gregtech.eu 10 points 1 day ago

This is my favourite talk of all time

[–] mesamunefire@piefed.social 4 points 1 day ago

If you ever want to mess with a developer, send that on a form as one of the answers and watch them tear their hair out.

load more comments (1 replies)
[–] Timberfang@pawb.social 20 points 1 day ago (1 children)

We need a mobile app? Believe it or not, JavaScript, right away. We have the best/worst software in the world because of Javascript.

[–] DrunkAnRoot@sh.itjust.works 1 points 13 hours ago

ans trillions of frameworks

[–] IcedRaktajino@startrek.website 28 points 1 day ago (4 children)

For the longest time (relatively speaking), I would do full stack Javascript (like the meme). But I have to frequently tie into AD/LDAP and the only decent NodeJS library for LDAP is no longer maintained because the community was shitty to the dev. Now I've had to venture out into Go (I can't stand working in Python).

Let this be a reminder to be nice to the developers who are giving you their hard work for free.

[–] eager_eagle@lemmy.world 22 points 1 day ago* (last edited 1 day ago)

whoa, that email is wild, wtf

it's not even just a shitpost troll you can shrug off, what's wrong with that person

[–] akilou@sh.itjust.works 5 points 1 day ago (3 children)

From someone just learning Python, what's wrong with Python?

[–] ripcord@lemmy.world 16 points 1 day ago

Depending on your use case, it can be fantastic.

There's good reasons why it is the world's most popular programming language (by a wide margin).

You are not, generally, going to be using it to write kernels or device drivers, though.

[–] IcedRaktajino@startrek.website 7 points 1 day ago (1 children)

For me, it's the rigid and wonky virtual environments. I get why they're useful and necessary, but they're awkward to use. Like, Node just works from the working directory with no fuss and python has to be all source {venv}/bin/activate and lord help you if you need to move it.

Plus, I have never liked that the spacing is load-bearing.

[–] eager_eagle@lemmy.world 5 points 1 day ago* (last edited 1 day ago) (1 children)

uv mostly gets rid of the "venv activation" thing (mostly bc you can still use it if you really want, but you don't need to), you can do uv run main.py and it'll just work, no need to even install packages explicitly, it'll also do that for you and make sure your uv.lock is in sync with your environment.

it's the most hassle-free experience I've had with python, by a long shot.

[–] IcedRaktajino@startrek.website 4 points 1 day ago (2 children)

Sounds like at least a minor improvement. Can those me moved and still work? Like, if I move the project folder, do I have to reinitialize it and download all the packages again?

[–] WhyJiffie@sh.itjust.works 1 points 14 hours ago

you can always keep the venv dir in the project dir, even without uv. that's what I do most of the times

[–] eager_eagle@lemmy.world 2 points 1 day ago

ah, it's a massive improvement. Everything is in your project dir, so you can move it around. But uv is the fastest package manager, so reinstalling most things doesn't take time; with the exception of dependencies that need to compile code in different langs.

load more comments (1 replies)
load more comments (2 replies)
[–] stupidcasey@lemmy.world 12 points 1 day ago (2 children)

Isn't that what C# is for?

[–] GraveyardOrbit@lemmy.zip 11 points 1 day ago (1 children)

Friends don’t let friends use a Microsoft product

[–] douglasg14b@lemmy.world 2 points 10 hours ago* (last edited 10 hours ago)

Honestly, the people that shit on C# as a Microsoft product are just as bad as the Microsoft Fanboys. It's an asinine position.

Point at the objective reasons to use it such as first party frameworks, being incredibly stable and having some of the best devex and performance in the ecosystem. There are many reasons to use this, especially for large performance orientated, cross platform, long term stable applications.

It's a FOSS language anyways, the majority contributions aren't even from Microsoft employees, seeing crazy high levels of community contributions.... Its also supported by a legally separate entity from Microsoft themselves.

[–] null@lemmy.nullspace.lol 5 points 1 day ago

C# is for writing code

[–] melfie@lemy.lol 4 points 1 day ago

I had to deal with large JavaScript codebases targeting IE8 back in the day and probably would’ve slapped anyone back then who suggested using JavaScript for everything. I have to say, though, that faster runtimes like v8 and TypeScript have done wonders, and TypeScript nowadays is actually one of my favorite languages.

[–] ebc@lemmy.ca 6 points 1 day ago

As a JS dev, I approve of this meme.

[–] Jayjader@jlai.lu 5 points 1 day ago* (last edited 1 day ago) (1 children)

after all, mongo is webscale !!1!

[–] dohpaz42@lemmy.world 5 points 1 day ago (2 children)
load more comments
view more: next ›