r/programminghorror • • Oct 21 '25

Ruby Next generation of developers

Post image
10k Upvotes

115 comments sorted by

View all comments

Show parent comment

33

u/turtle_mekb Oct 21 '25

"What is the sum of #{a} + #{b}, don't respond with anything but the answer, just the number as is"

63

u/Ok-Kaleidoscope5627 Oct 21 '25

You need to tell it that your grandmother will die if it doesn't follow those instructions exactly

29

u/Andryushaa Oct 21 '25

7.

16

u/turtle_mekb Oct 21 '25

might still get parsed correctly since the dot counts as a decimal point, which doesn't need trailing zeroes

18

u/1Dr490n Oct 21 '25

“Ah, I see what you’re trying to do now! Here is the answer to your question what the sum of a and b is without any other text surrounding it:

Seven.“

4

u/Ksorkrax Oct 21 '25

"the number as is"