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
10
u/cryosis7 Nov 30 '18
(JS) I've got into a habit of using 'x- -y' to add two variables because parseInt is longer to write. One day I'll come back to it and think wtf.