this post was submitted on 25 Sep 2024
385 points (92.9% liked)

Programmer Humor

19557 readers
1065 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 122 points 1 month ago (41 children)

It is so weird when people idolize programming languages. They are all flawed and they all encourage some bad design patterns. Just chill and pick yours.

[–] [email protected] 86 points 1 month ago* (last edited 1 month ago) (22 children)

Yeah, but that makes it sound like they're all equal, and there hasn't been any progression, which is untrue. You're either insane or a historical reenactor if you write something new in COBOL.

I think Rust is genuinely a huge leap forwards compared to C/C++. Maybe one day it will be shitty and obsolete, and at the very least it will become a boring standard option, but for now...

[–] [email protected] -2 points 1 month ago (5 children)

There have been "improvements" but fundamentally in my perspective, these "improvements" could be revealed to be a mistake down the line.

Assembly has produced some insane pieces of software that couldn't be produced like that with anything else.

Maybe types in programming languages are bad because they are kinda misleading as the computer doesn't even give a shit about what is data and what is code.

Maybe big projects are just a bad idea in software development and any kind of dependency management is the wrong way.

I like modern languages, types and libraries are nice to have, but I am not the student of the future but of the past.

[–] [email protected] 12 points 1 month ago (1 children)

That's a valid argument, but a very weak one. If we are not completely sure something is an improvement in all aspects are we just to dismiss it altogether?

[–] [email protected] 7 points 1 month ago* (last edited 1 month ago) (1 children)

Yeah, you could dismiss combustion engines for the same reason, or like, carpentry. You wouldn't be wrong, they have caused problems down the line at various points (modern climate change, medieval deforestation), but you bet I'd still call them an advance on mule power, or on no carpentry.

This is pretty much an nullification of the idea of technological progress existing at all, which is a kinda hot take.

@[email protected], so you can reply in the right place.

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

I see your perspective and I think you kinda miss my perspective which I am to blame for.

I don't say there weren't improvements. I am saying that given the uncertainty of "goodness". Maybe we shouldn't idolize it. You can appreciate the attempt of creating memory safe code through a programing language without thinking the bare metal code should be written in that language. You can like a typeless easy to write language like Js without thinking desktop app should be written in it. You can like the idea behind functional programming while believing that any application is in the end about side effects and therefore a purely functional application impossible.

You can approach the whole topic as an area of study and possible technological advances instead of a dogma.

[–] [email protected] 4 points 1 month ago* (last edited 1 month ago) (1 children)

Oh, well I can agree with that.

You can like the idea behind functional programming while believing that any application is in the end about side effects and therefore a purely functional application impossible.

It's a bit of a tangent, but if you're doing something completely deterministic and non-interactive, like computing a digit of pi, it's great in practice as well. I use Haskell semi-regularly for that kind of thing.

You could argue printing the output is a side effect, but is a side effect followed by termination really "side"?

[–] [email protected] 3 points 1 month ago

I agree.

I think it is a side effect if it runs on a modern Os. But honestly who cares...

load more comments (3 replies)
load more comments (19 replies)
load more comments (37 replies)