TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:Re: Term for elegant, efficient, tight code? From:Doc <doc -at- vertext -dot- org> To:"TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com> Date:Sat, 31 May 2003 19:52:09 -0400
On Sat, 31 May 2003 13:13:10 -0700, dmbrown -at- brown-inc -dot- com wrote:
>I'm sorry if someone's already mentioned this, but "elegant, efficient, and tight" have little to do with whether the code compiles--that's a given.
>"Elegant" describes code that achieves the desired goal in a typically new or unique way--something that makes other programmers smile and say, "Wow, I wish I'd thought of that!"
>"Efficient" describes code that achieves the desired goal without wasting CPU processing power or time.
>"Tight" describes code that achieves the desired goal with the fewest instructions possible. It is occasionally used as a synonym for the combination of elegance and efficiency.
>None of these terms imply syntactical correctness, conformance to some standard, or validity in any other sense...beyond the fact that, if it won't even compile, its elegance, efficiency, and tightness don't carry much significance.
"In a mathematical proof or a computer program, elegance is the
minimum number of steps to achieve the solution with maximum clarity.
Engineers strive to use the least amount of material and minimize the
number of moving parts; duct tape is not an elegant solution, except
for taping ducts. Like an elegant theory, an elegant solution is
recognized by its parsimony of definition and power of explanation.
The most complex games have the fewest rules, as do the most dynamic
societies."
In other words, successful compilation, successful operation, and
efficiency are required for code or any other solution to be
considered "elegant".
I grew up among scientists and that is always what elegant meant.
-Doc
The VerText Company
South Hamilton, MA
+1.978.609.1165
"You cannot grow a beard in a moment of passion."
- G.K. Chesterton
---
You are currently subscribed to techwr-l as:
archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit http://www.raycomm.com/techwhirl/ for more resources and info.