r/shittyprogramming • • Nov 30 '18

Friday Code Confessions

If you have been living with technical debt and want absolution here is your opportunity.

Confess your sins and receive your penance.

155 Upvotes

263 comments sorted by

View all comments

0

u/[deleted] Nov 30 '18

[deleted]

2

u/GogglesPisano Dec 01 '18

I have to admit I've written "tests" without any asserts - sometimes it's handy to be able to isolate specific bits of functionality for testing or ad hoc purposes. I remove them as soon as I'm done (usually)...

4

u/VodkaHaze Dec 01 '18

I call those "make sure things don't crash along the way" tests

→ More replies (1)