aprogrammerhumor·Programmer Humorbyaffiliate automating the YandereDev algorithmView original on lemmy.world228Comments10
CCralder feddit.nu6Hide 6 repliesI'm clearly out of the loop. What's up with YandereDev? I've heard his name before but that's it, what did he do?32
tthatsTheCatch replylemmy.nz2Hide 2 repliesI know that the whole think is that YandereDev writes bad code, but that has to be a joke... My faint little heart might just give out if that is serious38
ffar_university1990 replyfeddit.de1Hide 1 replyWrote IsEven() as a blob of else if statements for each number11
fflint5436 lemmy.worldI have to write python code next week wich generates objects. I've never done that in python, so thanks for giving me a good starting point. :)17
ffl42v lemmy.mlFor duck's sake, not again 😩 I remember what happened to r/programmerhumor too damn well15
I'm clearly out of the loop. What's up with YandereDev? I've heard his name before but that's it, what did he do?
they made a very influential isEven algorithm
I know that the whole think is that YandereDev writes bad code, but that has to be a joke... My faint little heart might just give out if that is serious
It's not limited to isEven
Jesus christ
Wrote IsEven() as a blob of else if statements for each number
Ah, so a perfect TDD implementation, awesome!
I have to write python code next week wich generates objects. I've never done that in python, so thanks for giving me a good starting point. :)
Perfect
For duck's sake, not again 😩 I remember what happened to r/programmerhumor too damn well