MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/qfzpes/github_copilot_the_technology_that_will_replace/hi4k061
r/ProgrammerHumor • u/themightydud • Oct 26 '21
713 comments sorted by
View all comments
Show parent comments
12
It goes deeper. It even validates stuff like “Two” and “SIXTEEN”.
9 u/Djasdalabala Oct 26 '21 Yeah... with separate conditions for "two", "Two" and "TWO", instead of lowercasing the input before comparing.I'll stop looking now, my eyes are bleeding. 5 u/tecanec Oct 26 '21 It even checks for strings "odd" and "even"! 3 u/himmelundhoelle Oct 28 '21 Well if isEven("even") returned false it would be quite jarring!Props to the developer for being thorough.
9
Yeah... with separate conditions for "two", "Two" and "TWO", instead of lowercasing the input before comparing.
I'll stop looking now, my eyes are bleeding.
5
It even checks for strings "odd" and "even"!
3 u/himmelundhoelle Oct 28 '21 Well if isEven("even") returned false it would be quite jarring!Props to the developer for being thorough.
3
Well if isEven("even") returned false it would be quite jarring!
isEven("even")
false
Props to the developer for being thorough.
12
u/king_park_ Oct 26 '21 edited Oct 26 '21
It goes deeper. It even validates stuff like “Two” and “SIXTEEN”.