There is a code re-writer among us! His reasons for re-writing code are because he has his own style and he has trouble reading other peoples' code. So, he feels he must re-write the code into his own style with no consideration for the original author. This is not making code more efficient which is acceptable. This is rewriting code because he wants it in his own style because he finds trouble reading it. This is web page authoring and scripting. To me, this guy is breaking the programmer's code of conduct. Every programmer has their own style and they write code their own way. Is it fair for someone who didn't write it to come along, say he can't read and maintain it very well as is(while others on the team can), and then just re-write in his own style. And, it just so happens that the rest of the team members may not agree with his style of coding and have trouble maintaining his re-written code. The problem is this person came from a programming group where he was in charge and a one man team. Then, he comes into a team environment and plays the game with his own rules. Now, other team members are getting pissed because the programs they originally wrote are being re-written. This is not justified at all and, honestly, our company is not paying one to re-write but rather make modifications or add new functionality. If your writing your own program, then write it in your own style. But, not every program can be in your own style. You have to adjust to your environment. This guy is re-writing everything he touches in his own style and we are getting pissed. After multiple conversations with him, he doesn't seem to get the picture that he is now on a programming team and he cannot just do everything he wants when he wants. He does not seem to be comprehending how this may offend other people. At what point would you escalate this to your management? I can't say its happened to my programs yet but, if it does, then he better get the **** out of my way because I will hang him out to dry. I just don't think it's fair play for a new person to come into a team atmosphere and do this kind of thing for no good reason. Everyone has their own style dammit! Not every program is going to look like it came from the same person. We had ways of doing things before he came in and now he is just changing everything without consulting the team. I hate to be a rat but if this keeps up I will hang him out to dry. Any programmers out there sympathize with our plight? If you don't understand that everyone has their own style in programming, then you either belong in a solo programming world or do not belong in programming at all. Sure, there are things called standards. But, this isn't even about standards. It's about style dammit! We work hard to write these programs and noone....I MEAN NOONE...wants to see their hardwork castrated by someone else!!! Had to let off some steam, Surf ------------------
Surf a question from a non-programmer. Can two programmers write code differently that basically does the same function? What I mean is, wouldn't the code pretty much have to written the same to achieve the same desired affect? Again, these are questions from a programming idiot. ------------------ Everything you do, effects everything that is.
I'm not Surf, but I can try and tackle this question with my own programming experience, but certainly not as much as he does. No, code can be written as far as what language it's in. Some HTML can be coded into Javascript, which makes things more complicated in my opinion, and I don't see how anyone would desire to do so. I might be wrong here, as I have no programming experience on paper as of yet. I have experience coding LPC, and that can really be coded different in a lot of ways. And definately every coder has his unique 'style.' Hope that helps! Deltar ------------------ "Minute after minute, hour after hour, the proud and strong knight struggled in vain against the wasp inside his armour." [This message has been edited by Deltar (edited May 31, 2001).]
Every programmer will do things differently when writing the same functionality....even when using the same language. In some cases, the code may be more similar than different. In others, the differences may be more apparent. Standards attempt to minimize those differences. Also, every programmer may document their code according to their own preferences to assist others in reading and maintaining the code. But, in the end, every programmer has their own style and usually takes pride in their work. If a newcomer re-writes the code because it doesn't fit his style, then he is forcing his monopoly or style on others. This leaves the original author shaking his head and pissed. This is not conducive to a team atmosphere. Rogue programmers do not fit in well and it appears my group has one on its hands. Doesn't take advice and does what he wants. This doesn't sit well with senior pgmrs like myself....especially when it is unjustified. His my way or the highway attitude just doesn't fly when working on a team. He's been nicely warned. The next warning will be from our manager. If that doesn't work, then I will go off on him and/or quit because this is not how programmers work together. Surf ------------------
I feel your pain, dude..... I went through this kinda thing last year with a new guy on my team. He even went as far as to rearrange the spacing on my code(sounds anal to worry about spacing, but I do it for logical and readability issues). After a few terse words(something along the lines of "you can rewrite the whole mofo thing if you want, but I have more important things to do"), he got the message. You just can't mess with a another man's code. If it keeps up, I wouldn't blow it & quit my job though. There's alternative ways to deal with people like that....much more devious & rewarding ways.... ------------------
Yeah, you could always sh*t in a box and send it to his house with a clown... it worked for Rocketman Tex. ------------------ What is daylight savings time? And if we are saving so much of it, who's got it all? - Mike Warnke