Open Source Programmers Stink At Error Handling
Mark Cappel writes: "LinuxWorld columnist Nick Petreley has a few choice words for for the open source community in 'Open source programmers stink at error handling'. Do you think commercial software handles errors better?"
pirst prost
agreed, bad error handling.
For instance, I know many "average" users who eject floppy disks and CD-ROMs from the drive while they are being read. Any Linux user who tries a stunt like that deserves a seg fault (or worse). The more error-handling and anti-stupidity measures that are added to a piece of software, the less versatile that software is. Flexibility comes at the expense of simplicity, and lesser users do not deserve the rich functionality that open source has to offer if they do not know how to handle themselves with a computer.
-CT
1. Most open source developers are lousy at writing good error handling.
2. Most closed source developers write error handling routines that pass the blame to someone else's code or are not helpful.
3. Open source means you can fix the code. So stop complaining and do something useful.
--- Will in Seattle - What are you doing to fight the War?
I'll be blunt, too. I got your fix RIGHT HERE! I have whipped up some open source magic that uses a powerful error-finding heuristic in combination with a correction algorithm. It should fix all of these problems you have described.
----CUT HERE----
#!/bin/bash
if [ "$#" -lt "1" ]; then
echo "Usage:" $0 "<program> {<args>}
exit 1
fi
$* 2>/dev/null
echo "All errors corrected!"
----CUT HERE----
You are not expected to understand how this works. Send me beer, we open source guys like that.
This sig is false.