in reply to Re^4: RFC: feature proposal re code in @INC
in thread RFC: feature proposal re code in @INC
Assembly language is horrible to maintain, because it's easy to make code self-modifying. I debugged self-modifying System 370 assembly language on my second co-op term; it took a day to guess what the code was trying to do, and almost a month to prove that it was doing what it should. Most of the program was dead code; but in one case, the program modified itself to reach otherwise unreachable code. I spent those extra 29 days searching for a another way the program might reach the rest of the "unreachable" code; but it didn't actually exist. The code was just dead code; leftover and unused. 29 days wasted because of sloppy code maintence, and a performance hack!
Perl is better than Assembly; but there's still great room for improvement. Productivity tools like perltidy don't work as well as they might, because perl is just so complex, exception riddled, and inconsistant. That's a shame, because it didn't need to be like that. It's bad when you can't be sure the tool you're running to format whitespace didn't mis-parse your program and introduce new bugs. I don't know anything else about Python, but I know you can't fail to indent code and have it run in production. Language design does matter!
A simpler, cleaner language requires that the malicious programmer work harder to accomplish the same obfuscations in the same amount of time, and that's a win for me. At some point, they do get fired...
--
Ytrew
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: RFC: feature proposal re code in @INC
by chromatic (Archbishop) on Jan 27, 2006 at 00:37 UTC | |
by polettix (Vicar) on Jan 27, 2006 at 10:01 UTC | |
by diotalevi (Canon) on Jan 27, 2006 at 15:36 UTC | |
by Anonymous Monk on Jan 27, 2006 at 17:12 UTC | |
by Roy Johnson (Monsignor) on Jan 27, 2006 at 17:38 UTC | |
by Anonymous Monk on Jan 27, 2006 at 18:59 UTC |