A true Dilbert situation.

A true Dilbert situation.

Post by alfredgros » Thu, 21 Oct 2004 00:06:30


I can program circles around my supervisor, especially in C.

Nevertheless, he inserts snotty comments in my code, such as

/* This function is just aching to buffer overflow. */

My programs never seg fault. The whole system was running reliably
for years before he ever appeared. I can program faster, more
reliably, and more complexly than he, by far. In fact, he is even
unaware of his limitations.

So, should I let him persist in his juvenile imaginary world where he
is saving everyone from my sloppy code? Advantages: no flame wars,
no hard feelings.

Or should I defend myself? Advantages: I might reduce unfair
perceptions in our group.
 
 
 

A true Dilbert situation.

Post by bks » Thu, 21 Oct 2004 03:05:35

In article < XXXX@XXXXX.COM >,


Okay, but is the function susceptible to buffer overflow? If it
is, it should be fixed, if it is not, fix your supervisor.

--bks

 
 
 

A true Dilbert situation.

Post by alfredgros » Fri, 22 Oct 2004 04:46:45

> Okay, but is the function susceptible to buffer overflow?

No, it's not, as I implied earlier.


I used to program little Macs, using Think C. In that environment,
seg faults crash the computer operating system, and are therefore very
hard to find -- I learned quickly to be careful.


Process underway.
 
 
 

A true Dilbert situation.

Post by kevint50 » Fri, 22 Oct 2004 07:30:23

> Okay, but is the function susceptible to buffer overflow? If it
Very true, and also comment with weaker programmers in mind. If your
comments point out the safety features then other people can learn
from your code and it's much harder to put snotty comments in it.
 
 
 

A true Dilbert situation.

Post by blmbl » Sat, 23 Oct 2004 07:38:40

In article < XXXX@XXXXX.COM >,


Nitpick: Well, you said it didn't segfault. That's not exactly the
same thing as not being susceptible to buffer overflow.

[ snip ]

--
| B. L. Massingill
| ObDisclaimer: I don't speak for my employers; they return the favor.
 
 
 

A true Dilbert situation.

Post by jatwoo » Sun, 24 Oct 2004 00:56:49


Ask him to put up or shut up. Ask him to log a defect and write a test
that exercises the defect, or, remove the comment.


John
 
 
 

A true Dilbert situation.

Post by bks » Sun, 24 Oct 2004 04:49:26

>>No, it's not, as I implied earlier.

Can you post the function here?

--bks