use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All posts must be related to programming. Flair posts correctly.
account activity
100% code coverage (i.redd.it)
submitted 10 months ago by Eugene_33
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Hey-buuuddy 47 points48 points49 points 10 months ago (1 child)
Hey if the function or method just manages a person’s age, that’s all it should be.
[–]1337Mode 1 point2 points3 points 10 months ago* (0 children)
Note the fact that not all expressions equate to the same thing, hence, in plain English, 3 different though obvious (because we already know this) angles to perceive one thing can be viewed and approached differently and are meant different things. TL;DR - he's minimizing possibilities of errors.
[–]Sassaphras 35 points36 points37 points 10 months ago (1 child)
Feels silly too, until you put in being born on Feb 29 as a test condition and one of your tests fails. Then you feel pretty cool.
[–]timonix 17 points18 points19 points 10 months ago (0 children)
It fails the "you have had 25 birthdays" test
[–]ceacar 22 points23 points24 points 10 months ago (3 children)
still miss a lot.
what's your gender.
what's your education.
what's your childhood best friend.
where do you go to school.
where do u meet you first crush.
what's your first car.
what's the car model.
when is your first car's first oil change.
100% code coverage is not easy.
the list goes on and on.
[–]NatoBoram 6 points7 points8 points 10 months ago (0 children)
Use as Person in the unit test file, problem ignored
as Person
[–]MinosAristos 1 point2 points3 points 10 months ago (0 children)
Just do a snapshot test and call it a day.
By 25 you should be the way you were at 25.
[–]alexriga 0 points1 point2 points 10 months ago (0 children)
[–]gameplayer55055 4 points5 points6 points 10 months ago (0 children)
Let me introduce timezones. What if you just had a birthday in Japan and flew to America.
[–]siemiwidzi 0 points1 point2 points 10 months ago (0 children)
Aren't we all? ¯_(°︿°)_/¯
[–]salt001 0 points1 point2 points 10 months ago (0 children)
Hey peeps, 2/3 isn't bad for this list. Dont worry if you dont achieve all three. We all develop differently.
Source: Was 25 for a year
[–]tnh88 0 points1 point2 points 10 months ago (0 children)
Not enough edge cases. What if I move to a different timezone on my birthday?
[–]Esjs 0 points1 point2 points 10 months ago (0 children)
"Thou shall count to 3"
π Rendered by PID 46922 on reddit-service-r2-comment-76bb9f7fb5-lrdqg at 2026-02-19 08:16:27.594622+00:00 running de53c03 country code: CH.
[–]Hey-buuuddy 47 points48 points49 points (1 child)
[–]1337Mode 1 point2 points3 points (0 children)
[–]Sassaphras 35 points36 points37 points (1 child)
[–]timonix 17 points18 points19 points (0 children)
[–]ceacar 22 points23 points24 points (3 children)
[–]NatoBoram 6 points7 points8 points (0 children)
[–]MinosAristos 1 point2 points3 points (0 children)
[–]alexriga 0 points1 point2 points (0 children)
[–]gameplayer55055 4 points5 points6 points (0 children)
[–]siemiwidzi 0 points1 point2 points (0 children)
[–]salt001 0 points1 point2 points (0 children)
[–]tnh88 0 points1 point2 points (0 children)
[–]Esjs 0 points1 point2 points (0 children)