18

3 hours...

3 damn hours for 200 lines of bash code.

Exorcism, Magic I don't care.... But please make a special person never touching bash programming again.

I ripped my hairs out. Really.

Till I realized someone wrote functions with _logical_ return true codes as numbers.

0 - as logical false, for failure
1 - as logical true, for success

Leading my brain into a severe segfault fun.

Why... Oh why.

Second fun part as I corrected that...

Someone wasn't fond of exit codes at all.

Script is now 86 % rewritten....

God damn it, if you don't like a languages fine.

But inverting core logic should give a free trip to the electrical chair.

Comments
  • 2
    A grade rant.
  • 1
    This is like the LOVE game engine inverted the meaning of the Box2d Mask for.... no fucking reason. Caused us hours of headache. The result was MORE confusing than the original implementation.

    Maybe I should rant about LOVE/Lua some day.
Add Comment