Mon, 28 Nov 2005

10:50 AM - Linus believes in GOTO, so should you

It seems that Mr. Linux kernel jedi master himself loves goto statements.
http://kerneltrap.org/node/553

In general, goto statements ARE the root of all evil along with perl, php and recently added common lisp. I do think there are RARE cases goto statements are useful. Using them in a kernel is sometimes necessary but if speed is an issue, perhaps they should be using assembly code anyway. Of course getting off their ass and writing good code might be a better idea.

location: Home
music: - -

0 comments