Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Beauty vs. Power

by ichimunki (Priest)
on Dec 18, 2000 at 21:23 UTC ( [id://47276]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Monk ethics: Beauty vs. Power

I'm hardly an authority, but I have been attempting to learn to program computers since the fourth grade (I'm over 30 now). It seems to me that beautiful code is that which is powerful and vice versa. Ugly code is illegible, difficult to maintain, and therefore prone to error. Pretty code (in terms of consistent formatting, consistent algorithms, and efficient structure) is usually quite legible, easier to maintain, and less prone to error.

Whenever I feel like I'm hacking away at a problem instead of hacking a solution, I try to remember the three virtues. Will this code be reusable and maintainable, is it efficient, and is it just plain cool? I think a lot of the "software sucks" mentality would go away if more of us worked at these things. Programming is habit forming, and I'd rather have good habits than bad.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://47276]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.