On Wed, 9 May 2012 13:57:14 +0200 Nicolas Sebrecht wrote:
The way used to handle conditions is wrong. And I admit that for /this/ particular case, this is not much relevant.
I actually prefer the first case with multiple ifs. It helps newbie techs dive in and read the code. So what if they break it they will learn fixing it.
There's another point, shell is easily editable and understandable and that's a good thing and not a bad one and also one of arches values I believe, hence pacman uses so much shell!
I don't find pacman much editable, sorry. I've given examples of nice features not easy to implement, here in the past. ,-p
There are a lot of functions and files to get a handle on aren't there. Is that the reason? I don't think that detracts from the point though?