Re: Term for elegant, efficient, tight code?

Subject: Re: Term for elegant, efficient, tight code?
From: "Mike O." <obie1121 -at- yahoo -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Fri, 30 May 2003 09:43:02 -0700 (PDT)


Karen E. Black wrote:
> A cow-orker asked me for a term to describe code with
> correct syntax, implicit instead of explicit cursors,
> correct open and close statements. It's for a procedures
> doc heading.

One word won't do; there are several competing concepts here:

> code with correct syntax...correct open and close statements

This just means that the code compiles or parses correctly, but it
could still be awful code. Try "valid."

> implicit instead of explicit cursors

Your developers may have perfectly good technical reasons to use both
or neither. If your standards say to use implicit cursors, try
"standard."

> elegant, efficient, tight code

This is a matter of heuristics and taste. There are lots of holy wars
about what makes code tight.

In Perl, for example, it's possible to leverage the syntax to such an
extent that the program is packed tight but is barely human-readable;
this is usually not considered good practice. For example, I've seen
the DeCSS program written in about 5 lines of Perl. But I didn't
understand one character of it (don't worry Eric, I won't post a link).


Mike O.

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Robohelp X3, from eHelp, lets you quickly and easily create
professional Help systems for all your Windows and Web-based
applications, including Net.

Order RoboHelp X3 in May and receive a $100 mail-in rebate, PLUS
free RoboScreenCapture and WebHelp Merge Module.

Order RoboHelp today: http://www.ehelp.com/techwr-l

---
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.



Follow-Ups:

Previous by Author: Re: Essential Technical Writing Skills
Next by Author: Re: Term for elegant, efficient, tight code?
Previous by Thread: RE: Term for elegant, efficient, tight code?
Next by Thread: Re: Term for elegant, efficient, tight code?


What this post helpful? Share it with friends and colleagues:


Sponsored Ads