Oh, most definitely! The code for the
perl program most definitely is not maintainable. That, in fact, was a large part of the initial impetus for Perl6, way back when.
And, yes, (1) is much more important that (2). If it doesn't work, it doesn't matter if it's maintainable. :-)
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?