this post was submitted on 09 Oct 2024
52 points (100.0% liked)

Programmer Humor

19814 readers
145 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
52
Wat (www.destroyallsoftware.com)
submitted 2 months ago by [email protected] to c/programmer_humor
 

Everyone has probably already seen this, it's worth posting anyway.

top 5 comments
sorted by: hot top controversial new old
[–] xoggy 11 points 2 months ago

Upvoting a classic. Watch his other talks too. Entertaining and thought provoking.

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

"lets talk about javascri--"

audience: ROTFLMFAO

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

Legendary talk

[–] [email protected] 3 points 2 months ago* (last edited 2 months ago)

This might be from an old version of ruby, but:

irb(main):001:0> a
NameError: undefined local variable or method `a' for main:Object
        from (irb):1
        from C:/Ruby23-x64/bin/irb.cmd:19:in `<main>'
irb(main):002:0> b
NameError: undefined local variable or method `b' for main:Object
        from (irb):2
        from C:/Ruby23-x64/bin/irb.cmd:19:in `<main>'
irb(main):003:0> a=b
NameError: undefined local variable or method `b' for main:Object
        from (irb):3
        from C:/Ruby23-x64/bin/irb.cmd:19:in `<main>'
irb(main):004:0> a
=> nil

This NameError doesn't stop the assignment, going through despite the error.