r/shittyprogramming • u/calsosta • 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
View all comments
Show parent comment
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)...