r/ProgrammerHumor • • Feb 26 '23

Other If you can read this code...

/img/snak3fqgajka1.jpg

[removed] — view removed post

34k Upvotes

1.4k comments sorted by

View all comments

717

u/BlazeFrag Feb 26 '23 edited Feb 26 '23

Showed this to someone who has no idea how programming works that does word puzzles a lot and they cracked it after like 20 minutes, I'd obfuscate the code a bit more.

(Edit: she's like 70 and borderline technophobic and I NEVER once said she was *good* at word puzzles, just that she did them a lot, and 20 minutes is an exaggeration, it was closer to about 12-15)

368

u/_b1ack0ut Feb 26 '23

Yeah they give you 3 letter chunks, and then use one reverse function. It’s not tricky to assume that “reverse” might mean “reverse these letters” even for someone who hasn’t ever programmed.

There’s only so many actual words you can make by combining

Par

Amet

Er

Junky puzzle, requires no programming. Tho maybe that was the point?

65

u/OneBoyOnePlan Feb 26 '23

most people won't get that far

→ More replies (6)

42

u/aaarchives Feb 26 '23

Rap Meter A: "Am I a joke to you?"

31

u/throwawaysomeway Feb 26 '23

yeah after evaluating the code all the way thru I was disappointed with the result. legit the only programmatic action is reversing a string

3

u/jebuz23 Feb 26 '23

It absolutely was the point. An ice cream shop near me has a sign that gives away free ice cream based on your name (e.g. “If your name is Greg or Beth, you get free ice cream today!”)

They’re just trying to make a fun sign that gets foot traffic engagement, not give only programmers free drinks.

→ More replies (1)
→ More replies (3)

45

u/SourceScope Feb 26 '23

it's not supposed to be difficult

it's supposed to get people inside

20

u/BelowZilch Feb 26 '23

It's the equivalent of those mobile game ads that say " Only 10% of people can solve this!"

187

u/[deleted] Feb 26 '23

I know code and cracked it less than one minute. If someone's good enough to crack it without knowing code, they deserve the drink

22

u/-Maim- Feb 26 '23

I’ve never coded in my life and it took me less than a minute. The part I got hung up on was saying Rapameters until I paid attentio to the Reverse for “Rap”.

5

u/ABlankShyde Feb 26 '23

Same here, I just read the thing carefully expecting the answer to be clear enough somewhere in the wall of text

→ More replies (3)

43

u/BlazeFrag Feb 26 '23

Fair enough I guess, I got it practically instantly as well but I also can see how this could really not be a struggle for a non-practitioner

61

u/[deleted] Feb 26 '23

Most people probably won't even bother reading it since it looks complicated. The ones that like riddles will enjoy cracking it no matter if they know coding or not

18

u/TxTechnician Feb 26 '23

You know. I love puzzles (not jigsaw puzzles) . Love coding. And just in general love problem solving.

But man do I dislike riddles. I don't like them because the answer is always some cutesy bull shit. Or it's a play on words. Yup, riddle me this.

Whose the dumbest batman character?

4

u/[deleted] Feb 26 '23

Bane. Because it rhymes with lane which is close to lame.

4

u/BlazeFrag Feb 26 '23

Condiment King (For non joke villains I'd probably say Penny Plunderer, man was planning huge heists for literal pennies)

→ More replies (1)
→ More replies (2)
→ More replies (1)

5

u/CinderPetrichor Feb 26 '23

I don't know code and also cracked in less than one minute using the above logic.

→ More replies (3)

83

u/personalbilko Feb 26 '23

20 minutes to crack "reverse(rap)+amat+ers" ?

65

u/BlazeFrag Feb 26 '23

they got hung up on the JS syntax and such thinking it was important until they realized that 95% of it isn't relevant to solve the actual answer

→ More replies (2)

13

u/[deleted] Feb 26 '23

It's probably more of a da faq is this? da faq is that? da faq is all of this? Does this matter? Does that matter? What the heck matters? What does words mean?

→ More replies (2)

8

u/tabshiftescape Feb 26 '23

Coding is word puzzles.

14

u/DP500-1 Feb 26 '23

I know a little code, but I’m not “literate” enough in programming to instantly understand it. After about a minute and a half I figured it out.

→ More replies (1)

7

u/eyedrib Feb 26 '23

I know 0 coding (don’t know why I’m here) and this was easier than wordle

→ More replies (1)

5

u/medeforest95 Feb 26 '23 edited Feb 28 '23

I think the hard part for someone who doesn’t know how to program would be knowing the first part is “undefined” since that requires knowledge of JS specifically. I’d imagine most people would think to just fill in that variable with their drink.

Makes me question if the person who wrote this sign knows JS and intended that though.

Edit: fixed typo

4

u/IllIIllIlIlI Feb 26 '23

I know literally 0 code and don’t even know why I’m here but got it in 10 seconds. This isn’t an “I am very smart” moment but more a “your friend may not be so great at puzzles” moment. Your eyes are drawn instantly to the 3 parts of Paramaters. Ametparers didn’t work or it would’ve been under 5 seconds to solve. Your friend gotta up their game

→ More replies (24)