this post was submitted on 10 Jan 2024
801 points (95.4% liked)

Programmer Humor

19817 readers
57 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
[–] [email protected] 185 points 11 months ago (2 children)

I like the scope creep there:

  1. Programming language (singular)
  2. All programming languages and related knowledge
  3. Add in AI, ML and data structures
[–] [email protected] 57 points 11 months ago (2 children)

Bro needs to go big. Why not all electronics and electronic systems in general? As it is he could still be "caught with his pants down" by another speculative execution bug.

[–] [email protected] 23 points 11 months ago (2 children)

DNA is a programming language. The fabric of space time could be a programming language. Keep going!

[–] [email protected] 2 points 11 months ago (1 children)

If we're really living in a simulation my dude is really asking for reality bending powers.

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 2 points 11 months ago

Since this is something that needs to be considered while programming, I'd presume such information falls under "related knowledge".

[–] [email protected] 29 points 11 months ago

Sounds like they are the product owner :)

[–] [email protected] 150 points 11 months ago (2 children)

My head canon is that Tony Stark has a superpower: everything he builds works the first time.

If it's really complicated, like an entirely new Iron Man suit, then it might malfunction once in an amusing way. Then he tightens a screw and it's perfect. It never fails outright or bricks itself.

In my experience, this is not how hardware or software development goes. I want this power so much.

[–] [email protected] 93 points 11 months ago (1 children)

Agreed. It's comical how he's seemingly able to rapidly build stuff that requires experience in multiple high end fields and then he even surrounds himself with his own tech and is not buried under maintenance hell for it all.

My alternative head canon is that he's actually only good at building AIs and Jarvis and Friday are the ones who actually make all of his crazy ideas work.

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

In a What If? episode, he made a suit that can transform into a racing car without creating AI first

load more comments (1 replies)
[–] [email protected] 26 points 11 months ago

He is an Artificer, plain and simple

[–] [email protected] 102 points 11 months ago (2 children)

Instantly granted all programming knowledge

"Well what the... God damnit! Who the fuck thought that was a good idea? Fucking JavaScript architects!"

[–] [email protected] 14 points 11 months ago

Every npm package gets downloaded into your brain, immediately collapses into a black hole

[–] [email protected] 4 points 11 months ago

My gods. I think this just gave me flashbacks to this week.

I was recently battling node's import/require shenanigans trying to figure out how to import a typescript module in my basic program. I feel this so hard.

I walked away utterly hating the language and its ecosystem. Utterly defeated, I gave up.

[–] [email protected] 70 points 11 months ago (2 children)

Why limit yourself like that? Just say "All languages". Depending on how liberally you interpret the word "language", you know know just about everything.

[–] [email protected] 37 points 11 months ago (2 children)

At that point just go for omniscience.

[–] [email protected] 20 points 11 months ago (1 children)

Too far. I don’t need to know all that.

[–] [email protected] 24 points 11 months ago (2 children)

Oh you don't want to know exactly how many pubes your grandmother shed in her lifetime? You don't care to know what the sewage of tasted like in London on Sunday, the 16th of July 1882? You don't burn with desire to learn what it feels like to get your viscera torn out by a hungry lion?

Weak!

[–] [email protected] 8 points 11 months ago (1 children)

A few million. Nasty, with hints of corn and bean. Painful and, oddly, quite exhilarating. Knowing doesn't equate to experiencing.

[–] [email protected] 5 points 11 months ago (3 children)

I dunno. You’d know exactly what it looks and smells like too, and what it’d feel like on your tongue. Depends on how vivid your imagination is.

I can’t visualise things, but when people ask me to “visualise an apple” I can feel the waxy exterior, the crispness (or gumminess of an old apple), the slightly floral scent before you bite into it, what it sounds like, etc.

Can’t fucking visualise it to save my life though.

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

I can imagine sensation if I want, but as a 'for instance,' I know I don't like some foods because of certain sensations, but don't have to perceive them when I remember why. I can't imagine that most people aren't the same, or we'd have a lot more people gagging randomly as they walk around. Sure, some people will be slightly perturbed if you mention certain things, like fecal matter, horrible farts, the feeling of biting down on aluminum.... but those perturbations pass in moments.

load more comments (1 replies)
load more comments (2 replies)
[–] [email protected] 2 points 11 months ago

Man i could just browse weird facts in my brain all day. Hurry Satan my soul is waiting!

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

I'm already a loner but omniscience would seal the deal.

[–] [email protected] 4 points 11 months ago

You’d be one hell of a schmoozer as you’d know exactly what to say to people to connect with them.

[–] [email protected] 21 points 11 months ago (2 children)

Fuck programming then, I'll go read ancient Egyptian or some not-yet-deciphered crap. On the other hand, I bet it's not that different from APL

APLSC_matrix-3547335466

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

My old man told me he took one programming language in college and it was APL. Having looked at APL since becoming a software dev myself, I can understand why he hated it.

It's just so gross and hard to read

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

On the other hand, which do you prefer, this:

 life ← {⊃1 ⍵ ∨.∧ 3 4 = +/ +⌿ ¯1 0 1 ∘.⊖ ¯1 0 1 ⌽¨ ⊂⍵}

or this:

 MODE UNIVERSE = [upb OF class universe, upb OF class universe]BOOL; STRUCT( INT upb, BOOL lifeless, alive, PROC(REF UNIVERSE)VOID init, PROC(REF UNIVERSE)STRING repr, PROC(REF UNIVERSE, INT, INT)VOID insert glider, PROC(REF UNIVERSE)VOID next ) class universe = ( # upb = # 50, # lifeless = # FALSE, # alive = # TRUE, # PROC init = # (REF UNIVERSE self)VOID: FOR row index FROM LWB self TO UPB self DO init row(self[row index, ]) OD, # PROC repr = # (REF UNIVERSE self)STRING:( FORMAT cell = $b("[]", " ")$, horizon = $"+"n(UPB self)("--")"+"l$; FILE outf; STRING out; associate(outf, out); putf(outf, (horizon, $"|"n(UPB self)(f(cell))"|"l$, self, horizon)); close(outf); out ), # PROC insert glider = # (REF UNIVERSE self, INT row, col)VOID:( self[row-2, col+1] := TRUE; self[row-1, col+2] := TRUE; self[row, col:col+2] := (TRUE, TRUE, TRUE ) ), # PROC next = # (REF UNIVERSE self)VOID:( [0:2, LWB self-1:UPB self+1]BOOL window;  # init row(window[LWB window, ]); window[LWB self, 2 LWB window] := window[LWB self, 2 UPB window] := window[UPB window, 2 LWB window] := window[UPB window, 2 UPB window] := lifeless OF class universe;  window[LWB self, LWB self:UPB self] := self[LWB self, ]; FOR row FROM LWB self TO UPB self DO REF []BOOL next row = window[(row+1) MOD 3, ]; IF row NE UPB self THEN next row[LWB self:UPB self] := self[row+1, ] ELSE init row(next row) FI; FOR col FROM LWB self TO UPB self DO INT live := 0;  FOR row FROM row-1 TO row+1 DO REF[]BOOL window row = window[row MOD 3, ]; FOR col FROM col-1 TO col+1 DO IF window row[col] THEN live +:= 1 FI OD OD; self[row, col] := IF window[row MOD 3, col] THEN live -:=  live = 3 FI OD OD ) );
[–] [email protected] 4 points 11 months ago

Honesty, neither 🤣

[–] [email protected] 39 points 11 months ago* (last edited 11 months ago) (1 children)

Wish granted, goes on to create yet another "better" programming language.

btw, OP forgot "understanding", which is the harder part.

[–] [email protected] 4 points 11 months ago

Good point. Maybe that's why they clarified "all knowledge in data structures and ml and ai" in the end.

Then again, just because you have all puzzle pieces (and a few extra) it does not mean you can solve it.

[–] [email protected] 15 points 11 months ago (3 children)

I woulda said Dr Manhattan powers.

[–] [email protected] 15 points 11 months ago (2 children)
[–] [email protected] 2 points 11 months ago (2 children)

Don't forget total apathy for all human concerns

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

He might be a good politician then.

load more comments (1 replies)
[–] [email protected] 2 points 11 months ago (2 children)
load more comments (2 replies)
load more comments (2 replies)
[–] [email protected] 14 points 11 months ago (1 children)

I don't understand, isn't it what is required for junior positions these days, every manager would tell you that they also required soft skills. His wish won't even land him a job.

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

All they had to wish for was to know COBOL. Job guaranteed.

[–] [email protected] 13 points 11 months ago (2 children)

Does this include all future invented programming languages?

[–] [email protected] 16 points 11 months ago (5 children)

No, the flip side of this wish is your knowledge is frozen in time to when you make the wish and can never be updated. You gradually become more and more outdated as you fail to grasp even the simplest of changes to all languages in current usage.

[–] [email protected] 21 points 11 months ago

So I forever work on legacy systems.

Not ideal, but there's quite a bit of job security in it.

[–] [email protected] 12 points 11 months ago

The upside to this is that you can still make good money as a legacy programmer. Just look at COBOL job listings.

[–] [email protected] 7 points 11 months ago

The ol' monkey's paw

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

Well damn, that's kind of evil.

load more comments (1 replies)
[–] [email protected] 3 points 11 months ago

Oh no, does this include all hypothetical alternate interpretations of the same code? So, you just look at the screen and go "yep, it definitely could mean something"?

[–] [email protected] 6 points 11 months ago* (last edited 11 months ago) (1 children)

If I was at any moment perfectly aware of every minute detail of every programming related topic, and could also apply it perfectly, I honestly think I'd get incredibly stressed and depressed. Stressed from all the billions of projects that I could improve, and would kinda feel the obligation to improve. And depressed because the whole reason I like programming is the learning part. Almost every project I start will end at the point where I learnt the most significant new stuff and it comes down to doing things that I know how to do. It'd ruin my primary hobby (and job) for me, which probably wouldn't result in me being very happy.

[–] [email protected] 5 points 11 months ago

Don't wish for knowledge, wish for wisdom. Of course then you will just realize that you should have just wished to be lucky.

[–] [email protected] 5 points 11 months ago (1 children)

Would go for all languages, spoken, written, typed, signed, listened too, seen, felt.

load more comments (1 replies)
[–] [email protected] 3 points 11 months ago

How do u ask to know everything without asking to know everything?

[–] [email protected] 3 points 11 months ago

I'd ask for the formula for cold fusion and all the required knowledge. That way I could save the earth, and also be super famous.

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

I'd like to download all of gbatek into my brain

load more comments
view more: next ›