found in my company's code

Post Reply
Malcolm
Posts: 32040
Joined: Fri May 21, 2004 1:04 pm
Location: Minneapolis

Post by Malcolm »

Best comment ev4r.

"//TODO : KILL ME"
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."
thibodeaux
Posts: 8056
Joined: Thu May 20, 2004 7:32 pm

Post by thibodeaux »

No fair posting your own comments.
GORDON
Site Admin
Posts: 54642
Joined: Sun Jun 06, 2004 10:43 pm
Location: DTManistan
Contact:

Post by GORDON »

I used to trash my buddy Lance in the comments at the place Leisher and I worked together.
"Be bold, and mighty forces will come to your aid."
Malcolm
Posts: 32040
Joined: Fri May 21, 2004 1:04 pm
Location: Minneapolis

Post by Malcolm »

thibodeaux wrote:No fair posting your own comments.
I know it's not mine, I never used all caps in mine. In fact, I go the opposite way.
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."
Malcolm
Posts: 32040
Joined: Fri May 21, 2004 1:04 pm
Location: Minneapolis

Post by Malcolm »

GORDON wrote:I used to trash my buddy Lance in the comments at the place Leisher and I worked together.
DB Copy-Paste tool I just wrote has dozens of comments slamming our DBA/data modeler dude.
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."
TPRJones
Posts: 13418
Joined: Fri May 21, 2004 2:05 pm
Location: Houston
Contact:

Post by TPRJones »

It's nice not having to work with other people. I made 6,646 lines of code this week, and zero comments.
"ATTENTION: Customers browsing porn must hold magazines with both hands at all times!"
GORDON
Site Admin
Posts: 54642
Joined: Sun Jun 06, 2004 10:43 pm
Location: DTManistan
Contact:

Post by GORDON »

TPRJones wrote:It's nice not having to work with other people. I made 6,646 lines of code this week, and zero comments.
I hate people who don't comment their shit.

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."
Malcolm
Posts: 32040
Joined: Fri May 21, 2004 1:04 pm
Location: Minneapolis

Post by Malcolm »

TPRJones wrote:It's nice not having to work with other people. I made 6,646 lines of code this week, and zero comments.
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.
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."
DoctorChaos
Posts: 1579
Joined: Fri Oct 08, 2004 7:58 pm

Post by DoctorChaos »

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?!
thibodeaux
Posts: 8056
Joined: Thu May 20, 2004 7:32 pm

Post by thibodeaux »

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
TPRJones
Posts: 13418
Joined: Fri May 21, 2004 2:05 pm
Location: Houston
Contact:

Post by TPRJones »

GORDON wrote:But it is ok for you because you will work there forever so nobody will ever have to look at your code. :-)
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.
"ATTENTION: Customers browsing porn must hold magazines with both hands at all times!"
Malcolm
Posts: 32040
Joined: Fri May 21, 2004 1:04 pm
Location: Minneapolis

Post by Malcolm »

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.
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."
GORDON
Site Admin
Posts: 54642
Joined: Sun Jun 06, 2004 10:43 pm
Location: DTManistan
Contact:

Post by GORDON »

Used to drive me crazy as a programmer when I was told to give the clients what they wanted, not what they asked for.

I'm sort of a literal person.
"Be bold, and mighty forces will come to your aid."
Malcolm
Posts: 32040
Joined: Fri May 21, 2004 1:04 pm
Location: Minneapolis

Post by Malcolm »

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.
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."
Post Reply