in reply to Ninja style coding... is it bad?
Upon first reading this, I wondered how I would feel if someone found a mistake and surreptitiously fixed it without notifying me. Ninja coding seems to have a set of prior assumptions that I don't know if I agree with. Here's what comes to mind:
- I am truly fixing these people's buggy code and not inserting a sneaky bug into it.
- It's better to fix code behind the backs of my coworkers rather than talk to them about a possible error that I have found in their code.
Depending on your situation, this might be a reasonable thing to do. If you're the lead programmer on a time-critical project, this may even be a good thing (at least in the short term). But I believe that fostering a programming environment of creativity in which people can learn from each other is good for everyone's coding, so in the long term you may want to rethink your ninja ways. By practicing better communication, you may teach your peers a thing or two (and perhaps even learn something yourself). If you demonstrate best practices of coding to those around you their "bad" coding style may be vanquished by your "good" coding style in time.
It's interesting that you're being assimilated by the bad code that you are fixing. I would say that one key to learning good style is communication, by reading books, talking to people, and understanding the concepts behind various styles of coding. Perhaps if you communicate better you would be a Zen Master, rather than a Ninja. :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Ninja style coding... is it bad?
by demerphq (Chancellor) on Sep 04, 2004 at 11:32 UTC |