What is beautiful or ugly code? These terms are very subjective. Code that is hard to read is ugly. Code that uses misleading variable names, like say FILENUM for something like the internal entry number of a Fileman file or PATNUM for patient's DOB is ugly code. At a MUG meeting some years ago somebody pointed out that one of the main jobs of code was to be easy to read and easy to maintain by other programmers. The speaker even suggested that it is secondary that the code execute correctly.
Jim Gray

----- Original Message ----- From: "Gregory Woodhouse" <[EMAIL PROTECTED]>
To: <hardhats-members@lists.sourceforge.net>
Sent: Tuesday, July 12, 2005 3:24 PM
Subject: Re: [Hardhats-members] Data dictionary question...


I don't think it's just an issue of being "beautiful".At least in my experience, when something has seemed disquieting, either because it is not aesthetically pleasing or because it looks awkward or just doesn't "feel right", that's been a good indication that there really is something wrong. I've learned to back off and not just forge ahead with something I "know" is wrong. Pursuing a solution that I subconsciously know is not the right one has bitten me in the past, even if I thought I might be able to save time with the course I was taking.

===
Gregory Woodhouse
[EMAIL PROTECTED]

"The most profound technologies are those that disappear."
--Mark Weiser



On Jul 12, 2005, at 1:44 PM, Kevin Toppenberg wrote:

Isn't if funny how we like things to not just to do
the job, but to also be "beautiful"?  If your code
gets the job done, then its OK with me.. :-)

Kevin




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to