1121
top 50 comments
sorted by: hot top controversial new old
[-] witx@lemmy.sdf.org 9 points 15 hours ago* (last edited 15 hours ago)

Wth is "Fixing memory leaks using pointers"?

[-] sheetzoos@lemmy.world 18 points 1 day ago
[-] mavu@discuss.tchncs.de 10 points 1 day ago

Nah, it's not that bad.
In 10 years with continued AI use? Yep.

[-] SirQuack@feddit.nl 2 points 14 hours ago

I'm thankful for AI. It guarantees my job as developer will continue to exist to repair all future AI-damage.

[-] obinice@lemmy.world 43 points 1 day ago

Okay but how do u center a div in 2025

[-] WhiskyTangoFoxtrot@lemmy.world 5 points 1 day ago* (last edited 1 day ago)

Make your web page in GIMP, export to PNG, <img>.

[-] umbraroze@slrpnk.net 16 points 1 day ago

If using plain CSS, usually it's enough to set width appropriately, and margin-left and margin-right to auto.

If using a Modern Frontend/CSS Framework, then may God have mercy on your poor soul.

(Seriously I just started a new project with TailwindCSS and I'm so confused. But not entirely desperate yet.)

[-] Korhaka@sopuli.xyz 11 points 1 day ago

So what is the point of these frameworks if they make it harder?

[-] Ricaz@lemmy.dbzer0.com 15 points 1 day ago

If you spend a lot of time on a single framework, you will transcend and become a sort of frontend diety, growing multiple extra limbs allowing you to type in CSS classes faster than any mere mortal

[-] SaharaMaleikuhm@feddit.org 10 points 1 day ago

Until everyone moves over to the next thing and you start from 0 again. Web dev is a nightmare.

load more comments (1 replies)
[-] toddestan@lemm.ee 5 points 1 day ago

Generally I find many these frameworks will make some complicated things simple, but the cost is some things that were once simple are now complicated. They can be great if you just need the things they simplify - or in other words can stick to what they were intended for, but my favorite way of keeping things simple is to avoid using complicated and heavy frameworks.

load more comments (1 replies)
load more comments (8 replies)
[-] letsgo@lemm.ee 6 points 1 day ago

Same way you did it in 2024 but it's easier because the springgirdles have been replaced with rotated manglebrackets.

load more comments (10 replies)
[-] lobut@lemmy.ca 10 points 1 day ago

I started with C++ and went to Java to .NET to Javascript and now to Terraform.

I know this is all a joke but there's something definitely different with the ones above and the ones below. There's a bit of satisfaction you can get sometimes when you're working with memory directly and getting faster feedback (yes, there's more math back then and it wasn't easy to look stuff up, for sure). However, there's new challenges nowadays ... there's so many layers on top of layers. I feel as though Stack Overflow and ChatGPT are so needed because the error messages and things we give are obfuscated or unclear (not always any library author's fault as there's compatibility issues, etc)

We're doing serverless stuff at my current company and none of our devs run code locally. They have to upload it using CDK or Serverless Framework to run on the cloud. We don't use SST so we can't set breakpoints but like that's a lot of crap inbetween just running your code already. Not even getting into the libraries and transpilers and stuff we use. I spent like a few weeks over Christmas to get our devs to run the code locally. Guess what? None of them use it because they're so use to uploading it. I was like, "you can put breakpoints in it! you can have nodemon and it instant reloads! nope, none of them care ... "

[-] excral@feddit.org 59 points 1 day ago

My experience is that the programmers from the first row very much still exist. My theory is that the number of programmers from the first row stayed the about same or even increased slightly. There are so many more so called "programmers" overall now, however, that in relation the first row programmers are much rarer now. And to be fair, you don't need a programmer capable of programming entire games in assembly to center a div.

[-] zerofk@lemm.ee 26 points 1 day ago

And vice versa, you don’t need to know how to centre a div to create a game in assembler. I’m comfortable using pointers and managing memory, but don’t ask me to do anything with web UI.

[-] ByteJunk@lemmy.world 16 points 1 day ago

I'm guessing that someone who figured out how to keep a high score box centered on screen using assembly will figure it out to do it with CSS.

The reverse, not so much...

load more comments (2 replies)
[-] Omgpwnies@lemmy.world 5 points 1 day ago

This can be generalized to say that programming has become such a diverse profession that you will find experts in one area that know very little about others. There's simply too many things that are programmed in too many ways for anyone to know it all anymore. Hell, that was the case in the 70's and 80's too.

[-] Semi_Hemi_Demigod@lemmy.world 215 points 2 days ago

Love the shoutout to Margaret Hamilton

[-] Hope@lemmy.world 124 points 2 days ago

I feel very confident in my understanding of random 8 bit CPUs and their support chips, but asking me to center a div is like this xkcd.

[-] DesolateMood@lemm.ee 52 points 2 days ago
[-] Appoxo@lemmy.dbzer0.com 51 points 2 days ago

(joke)
YOU FOOL! THE ACTUAL COMMAND WAS tar -?

load more comments (2 replies)
load more comments (16 replies)
[-] pastel_de_airfryer@lemmy.eco.br 55 points 2 days ago

I once had a junior calling me in a panic because he didn't know how to quit nano. NANO!

[-] bisby@lemmy.world 65 points 2 days ago

Nano... Like... The one that has all the keybinds permanently shown at the bottom of the screen?

[-] dubyakay@lemmy.ca 34 points 2 days ago

Burnt into the old LCD screen.

load more comments (1 replies)
load more comments (2 replies)
load more comments (11 replies)
[-] RogueBanana@lemmy.zip 8 points 1 day ago

I can't remember some syntax unless I do it at least 100 times. I often look up stuff that I have already done before and know because of my goldfish memory.

QA: "Yeah, Hi. Can you look at this defect ticket?"

Reading ticket details...

Me: "Let me guess. Is [whatshisname] responsible for this?"

QA: "Yeah."

Me: "Get him to fix it."

QA: "I tried. Like four times."

Me: Sigh "I'll take care of it."

QA: "Thank you!"

[-] vordalack@lemm.ee 18 points 1 day ago

Can't exit Vim

Ah yes, the legendary filter

[-] Anomalocaris@lemm.ee 3 points 1 day ago

the only reason people use vim is because they are stuck in there

load more comments (12 replies)
[-] ICastFist@programming.dev 36 points 2 days ago

80s programmers hated Unix, btw. Look up Unix Haters Handbook, it's a free and funny read

[-] frezik@midwest.social 1 points 14 hours ago

A lot of it was fair criticism at the time. Linux fixed some of what was wrong. Having a good sudo config mostly resolves the problem of having one superuser account, and big, multiuser systems are a lot less common now, anyway. X's network transparency features aren't that useful in modern computing contexts, either, though I have found a few over the years.

But mostly, it's because the landscape changed from a hundred Unix vendors vs a bunch of other OSen, to now where it's Windows vs Linux vs OSX. By that comparison, the two with Unix-derived history look well thought out.

(This also implies that NextStep was the one old Unix vendor that has survived in a meaningful way. I don't think anyone would have guessed that 30 years ago.)

[-] llii@discuss.tchncs.de 14 points 1 day ago* (last edited 1 day ago)

Unix Haters Handbook

https://en.wikipedia.org/wiki/The_UNIX-HATERS_Handbook

Didn't knew this. It has 360 pages, wow!

EDIT:

The Macintosh on which I type this has 64MB: Unix was not designed for the Mac. What kind of challenge is there when you have that much RAM?

hehe

load more comments (6 replies)
[-] milkisklim@lemm.ee 64 points 2 days ago

Hey now. Searching stack overflow circia 2011 to 2018 was an Art. You had to know enough to find the correct question that wasn't deleted because a mod thought it was a duplicate of another question

load more comments (4 replies)
load more comments
view more: next ›
this post was submitted on 07 May 2025
1121 points (100.0% liked)

Programmer Humor

23132 readers
929 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