My professor once asked me about a comment that said "// This is awful and you should feel awful, change this before handing it in. "
I had no excuse, I just told him time makes fools of us all.
That’s basically what I was told. It worked, I explained the algorithm I was having trouble with, and that I just ran out of time.
He didn’t deduct any marks or anything, he just said I should make an effort to make comments less self-deprecating.
My professor once asked me about a comment that said "// This is awful and you should feel awful, change this before handing it in. " I had no excuse, I just told him time makes fools of us all.
For that quip, they should’ve just christened you a developer and handed over your diploma right there.
Possibly with some yogurt
Should always slap a TODO on the front. IDEs like Jetbrain will catch those for you, so you can willfully ignore them next time(s).
Ideally with a ticket number, so you have some place with all the details and it can be prioritized and scheduled later, or never
//TODO go through my comments and add the TODO flag
//TODO ABC-1234 properly record tech debt
That’s a mood.
This is the difference between academia and actual experience. Senior engineer wouldn’t bat an eye for such comment
That’s basically what I was told. It worked, I explained the algorithm I was having trouble with, and that I just ran out of time. He didn’t deduct any marks or anything, he just said I should make an effort to make comments less self-deprecating.
Weird, that’s what my therapist keeps telling me too. j/k, I can’t afford it or be bothered to go