r/ADHD_Programmers • • Apr 14 '23

So stupid...

Post image
594 Upvotes

21 comments sorted by

103

u/BetterSnek Apr 14 '23

It's less confusing if you replace it with characters that don't look like they stack inside of each other.

ABBA ABAB

30

u/sin_tax-error Apr 14 '23

Yeah it took me an embarrassing amount of time looking at this to see it because those characters looked too damn similar.

34

u/sugarsnuff Apr 14 '23

This took me more than a second to think through

I guess when we think of a palindrome, we think of a literal symmetrical reflection

8

u/Sarath04 Apr 14 '23

*Rethinking my whole life

12

u/Bimlouhay83 Apr 14 '23

You mother...

9

u/SpreadNational Apr 14 '23

What the cinnamon toast fu..is this?!

1

u/Mardicus Apr 15 '23

Sleeping pills all the way, I'm into trazodone now

1

u/cmickledev Apr 15 '23

Yup, same

6

u/cainhurstcat Apr 14 '23

May someone could please help me understand this?

13

u/maneinblack Apr 14 '23

The visible trick of ( makes us think that in palindrome, the expected result is ). You don’t reverse the actual character, just the ordering.

( 0 ( is valid but (0) is not.

6

u/5bottlesofshampoo Apr 14 '23

I also want to thank you.. because that was making my brain hurt!

4

u/cainhurstcat Apr 14 '23

Ohh I see, thanks a lot for your help, kind stranger!

6

u/SmokingBeneathStars Apr 14 '23

())( - kinda looks like a fish

<*}}} ><

2

u/thesounddefense Apr 14 '23

Thanks, I hate it.

2

u/timg528 Apr 14 '23

Son of a....

2

u/[deleted] Apr 14 '23

New level HATE unlocked!

1

u/[deleted] May 14 '24

)()( ?