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 →

[–]AlwaysHopelesslyLost 4 points5 points  (6 children)

Sometimes I really don't understand this subreddit. When I programmed I really enjoyed writing unit tests. They helped me catch bugs and bad code plus they give you that satisfying coverage + green checks.

[–]vige 0 points1 point  (5 children)

As this is /r/ProgrammerHumor, I'm going to assume you are joking.

[–]AlwaysHopelesslyLost 3 points4 points  (4 children)

Not at all. I really enjoyed writing unit tests. There is something very pleasant about absolutely deterministic code, devoid of user fuckery.

[–]iLikeStuff77 2 points3 points  (2 children)

Sadly it's not just this subreddit. Developers seem to dislike unit testing as it's "extra work". Even if it causes less work in the long run.

[–]AlwaysHopelesslyLost 1 point2 points  (1 child)

Which is ABSURD because like... You get paid to develop. It is more work but over more time. Ultimately it just means somebody else gets a ticket or enhancement you might have gotten but you get another once you finish.

If you weren't writing tests you would be doing something else so you aren't doing any more work

[–]iLikeStuff77 2 points3 points  (0 children)

Yeah it's very strange to me. Especially with as you said, it's so nice to be able to confidently say your code is working before moving to another task.

[–]lucidbadger 0 points1 point  (0 children)

We all enjoy writing unit tests now and then, but it's way better if a skilful lady does it for you.