Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@capnsoup Me too, when I had to break MVVM design rules and do some work in the view. I wrote an apology letter to the gods of MVVM.
Wonder if they read it. -
JohanO20508yI once found a goto label named: "i_cant_believe_i_used_a_goto" in some old code I waded through.
Also functions named:
"I_really_dont_want_to_do_this(...)" and the like.
probably the same programmer -
I just added "//TODO: O' horrid world!" on a double for loop due to double book keeping that I did. I wanted to express that I know it is bad, and intend to come back to it.
But is the stench enough? Will it make the code reader doubt the behavior of the section? Unit tests are green.
What do you think? Change the code to be less wanna-be humorous? Perhaps replace with a todo that gives an idea of what would be better?
Now I'm rambling beyond tldr-comments, but a todo-list would in fact only show:
56: TODO: O'horrid world.
Quite inefficient description, I would say.
When you are debugging code at work and run into things like this...
undefined