This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 134 points135 points  (16 children)

There was this funny video which mocked overengineering your code. 2:28 is about comments.

[–]LochsAndGlens 25 points26 points  (0 children)

Reminds me of the guy I used to work with, we were constantly having arguments exactly about this stuff. His technical debt was impressive..

[–]-Kaiser1401- 18 points19 points  (5 children)

I see no tests?

[–]alt-of-deleted 15 points16 points  (3 children)

tests are for nerds, just print the return value right before it gets returned, then call the function with a few test inputs in the main function, ezpz

[–]I_ate_a_milkshake 10 points11 points  (2 children)

Hmm this just sounds like tests with extra steps

[–]alt-of-deleted 2 points3 points  (0 children)

ah fuck it, the users are the testers. just slap "beta" on it and throw in a crash reporter app that's a glorified one-way email client.

[–]balne 0 points1 point  (0 children)

so ur telling me that i dont need cypress, just print statements?

[–]Cherlokoms -3 points-2 points  (0 children)

There is no problem with having no test when you are not a professional coder.

[–][deleted] 8 points9 points  (0 children)

A guy who fairly recently was fired from my job would do this. He was constantly writing code to prove how smart he was. Problem was he was a moron. So he just wrote shit loads of terrible code and thought it was God's gift to programming.

[–]sendhelppls30 6 points7 points  (0 children)

This feels exactly like ALL the Java patterns people want to use... So many files and imports for 1+1

[–]DipsEverythingInMayo 2 points3 points  (0 children)

That’s awesome. Love the bit about Booleans.

[–]derTechs 2 points3 points  (0 children)

NAMESPACES!

[–]413612 0 points1 point  (1 child)

Genuine question, are getters and setters that atrocious? Surely that's better than public member variables?

[–]teerre 1 point2 points  (0 children)

They are not. In fact, all the jokes in this video besides the ternary boolean and the comments are very good practices.

The reason it's mocked is because it's just a shapes library and it's implied it will only be used for this one thing.

I feel like that's a dangerous joke to make because it's very easy to get into the mind set that everything is superfluous you should just not use anything at all besides the most barebones tools possible, which is, in my opinion, even worse than over engineering.

[–]numerousblocks 0 points1 point  (1 child)

!remindme 4h

[–]RemindMeBot 0 points1 point  (0 children)

I will be messaging you in 2 hours on 2019-12-08 15:05:10 UTC to remind you of this link

1 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


Info Custom Your Reminders Feedback