r/shittyprogramming • u/Monkey_Adventures • Nov 15 '20
Over-engineering your code makes you seem smart. So you should probably do it.
https://www.youtube.com/watch?v=-AQfQFcXac8
138
Upvotes
r/shittyprogramming • u/Monkey_Adventures • Nov 15 '20
29
u/SpaceGenesis Nov 15 '20
Some folks over-engineer their code as a way to secure their jobs. 😁
19
u/[deleted] Nov 15 '20
javidx9 is one of the highest quality coding channels out there, absolutely love his videos.
14
u/BeerOClock Nov 15 '20
Enterprise FizzBuzz is a glorious example of this taken to the extreme.
6
u/TheTjalian Nov 15 '20
I won't lie I'm kind of guilty of doing this at times. I was taught horribly at University :(
5
u/UnchainedMundane Nov 15 '20
"sometimes I actually work with other people's code"
I'm gonna have to revoke your "One Lone Coder" title
3
u/PancakeZombie Nov 15 '20
Even worse is when libraries or frameworks over-engineer their examples just to show off. I mean everyone wants to show what their framework can do, great. But don't bother with providing the code for it if it's completely illegible.
2
u/teerre Nov 15 '20
Oh, boy, thank you! I saw this video long ago and more than once since then I tried to reference it but couldn't ever find it again. Bookmarked!
2
u/the_monkey_of_lies Nov 15 '20
Sometimes over-engineering is the only way to make the project interesting and motivating.
1
u/jantari Nov 15 '20
Oh no I've seen this video in my recommendeds so often but never noticed the typo in the thumbnail until now because it was always small but the reddit preview makes it huge
Can't unsee aaaaahhhh
1
u/Soundless_Pr Nov 15 '20
wait you can have getters and setters in C++? someone plz teach me this magic.
1
u/[deleted] Nov 15 '20 edited Nov 15 '20
People who wrote the GNU coreutils:
They are bloated with useless arguments and tons of comments.
1
u/ramenAtMidnight Nov 15 '20
This is awesome. I'm going to post this to my team slack and hope some people take the hint. Seriously tho, this is good advice
0
u/[deleted] Nov 15 '20
[deleted] — view deleted comment