2010/01/06

A tiny piece of principle of development to add to your list

So far we have a few useful principles to follow during web and generally software development. Everyone remembers the DRY, KISS and all that. Let me add my own little gem to the list. It's called MY and focuses on modern or old source control. It's so obvious that I'm sure you already aware of it. So here it goes:

MY: Merge Yours!

Basically it means that if you collaborate in a process, you the developer is responsible for other people's work; you have to respect others work, no matters how a piece of junk is that. So when you start working on someone else's code, first merge yours. Merge your code with poor Jane or John Doe's stuff before you push. Obvious no? Then do it.

Its all about respect, no coding required.

I'd like to invent an other nice principle abbreviated ASS so I'd wear a T with "KISS MY DRY ASS" on it.

5 comments:

Izolda said...

Jane Doe? Isn't it a bit sexist? :D

Janos Hardi said...

True! :) I added John right after Jane ;)

szabi said...

I think calling fellow developers' code "junk" has also something to do with that "respect" thing... but of course merging is important and only a gigantic asshole would overwrite someone else's committed code...

Janos Hardi said...

Sure, calling a piece of code 'junk' is not respectful but I did not mean it generally. I meant it in this way: no matter how junk is an other guy's code (we all saw shitty code written by others/us right?) I have to respect others by merging my code with the upstream/trunk/etc first and just right after that issue the push. Afaik no software can solve human/social issues by default :)

szabi said...

I know, I know, just bitching around... on the other hand many human/social issues had been solved in history by the war thing and - just a random thought - we're pretty close to cybar wars and stuff. Also, you probably remember old IRC times, when you could send bsod to win98 machines directly :D