found in my company's code
DB Copy-Paste tool I just wrote has dozens of comments slamming our DBA/data modeler dude.GORDON wrote:I used to trash my buddy Lance in the comments at the place Leisher and I worked together.
Diogenes of Sinope: "It is not that I am mad, it is only that my head is different from yours."
Arnold Judas Rimmer, BSC, SSC: "Better dead than smeg."
Arnold Judas Rimmer, BSC, SSC: "Better dead than smeg."
I hate people who don't comment their shit.TPRJones wrote:It's nice not having to work with other people. I made 6,646 lines of code this week, and zero comments.
But it is ok for you because you will work there forever so nobody will ever have to look at your code.
"Be bold, and mighty forces will come to your aid."
Problem is that most of my job is making sure the other idiot developers can perform tasks that they ought to be able to do themselves. As such, I find myself writing lots of tools & lots of docs for morons.TPRJones wrote:It's nice not having to work with other people. I made 6,646 lines of code this week, and zero comments.
Diogenes of Sinope: "It is not that I am mad, it is only that my head is different from yours."
Arnold Judas Rimmer, BSC, SSC: "Better dead than smeg."
Arnold Judas Rimmer, BSC, SSC: "Better dead than smeg."
-
- Posts: 1579
- Joined: Fri Oct 08, 2004 7:58 pm
GORDON wrote:I hate people who don't comment their shit.
I used to feel the same way until I came across some out of date comments. Now I make sure my function/method names are self documenting. If it is really out there, I'll comment it.
Old comments can be worse than no comments. IMHO
Wadda mean? Other people can read this?!
-
- Posts: 8056
- Joined: Thu May 20, 2004 7:32 pm
DoctorChaos wrote:GORDON wrote:I hate people who don't comment their shit.
I used to feel the same way until I came across some out of date comments. Now I make sure my function/method names are self documenting. If it is really out there, I'll comment it.
Old comments can be worse than no comments. IMHO
I was gonna say: good code doesn't NEED comments.
The obvious reply is: Superman don't need no AIRPLANE.
Edited By thibodeaux on 1292015027
Trust me, if I leave they'll just go back to banging rocks on large boulders to keep track of the stuff I'm coding for. It's a miracle so many of them can figure out how to log in every day without help.GORDON wrote:But it is ok for you because you will work there forever so nobody will ever have to look at your code.
"ATTENTION: Customers browsing porn must hold magazines with both hands at all times!"
On a totally separate note ...
Without noticing, I'm apparently gaining the ability to guess the future correctly and program for it.
Biz Analyst [months ago] : We need these items deduped. Here's the rules.
Me : Ok.
I go off and code a solution. With a bug that means my deduping doesn't quite work like I intended in reality.
BA [today] : We still need those items deduped. Here's the rules.
Me : Uh, ok. These ... aren't the rules you gave me a few months ago.
BA : What? Yes, they are.
Me : No, they aren't.
BA : Oh well, whatever. Just follow these rules. I don't have time to keep documents up to date.
His new rules magically conform to my bug. It's not a bug, it really is a feature.
If only I could direct this ability towards a useful, lottery-oriented end.
Without noticing, I'm apparently gaining the ability to guess the future correctly and program for it.
Biz Analyst [months ago] : We need these items deduped. Here's the rules.
Me : Ok.
I go off and code a solution. With a bug that means my deduping doesn't quite work like I intended in reality.
BA [today] : We still need those items deduped. Here's the rules.
Me : Uh, ok. These ... aren't the rules you gave me a few months ago.
BA : What? Yes, they are.
Me : No, they aren't.
BA : Oh well, whatever. Just follow these rules. I don't have time to keep documents up to date.
His new rules magically conform to my bug. It's not a bug, it really is a feature.
If only I could direct this ability towards a useful, lottery-oriented end.
Diogenes of Sinope: "It is not that I am mad, it is only that my head is different from yours."
Arnold Judas Rimmer, BSC, SSC: "Better dead than smeg."
Arnold Judas Rimmer, BSC, SSC: "Better dead than smeg."
I'm dumbfounded at how stupid our BAs are. It's mind-numbing. They're mainly kept around for want of ready access to 1000+ pages of real documentation in relatively small print.
Excepting a few at our site, they have all been fucking morons of the lowest order. I've just taken to telling them what they need instead of relying on them to know it.
Excepting a few at our site, they have all been fucking morons of the lowest order. I've just taken to telling them what they need instead of relying on them to know it.
Diogenes of Sinope: "It is not that I am mad, it is only that my head is different from yours."
Arnold Judas Rimmer, BSC, SSC: "Better dead than smeg."
Arnold Judas Rimmer, BSC, SSC: "Better dead than smeg."