[Info-vax] Opportunity for VSI?
Dave Froble
davef at tsoft-inc.com
Wed Dec 19 15:09:05 EST 2018
On 12/19/2018 2:25 PM, Arne Vajhøj wrote:
> There are two schools of thought on programming languages.
>
> There are those that prioritize the power of the language - it
> should be possible to express even very complex logic in a
> short and concise way.
>
> And there are those that prioritize simplicity of the
> language - it should be possible for anybody with an
> IQ over 90 to read and understand the code.
Understand code is only a part of the issue. Code is pretty meaningless
to someone working on it unless they understand the overall task, and
they understand the detail implementation.
The overall task should be rather simple to understand, regardless of
the complexity of the task. A bit of documentation works for that.
The details should be comments in the code itself. If some comments
explain just what a section of code is doing, then the complexity of the
code should not be an issue. However, simple is always better, if it is
possible.
This is one of the reasons I prefer modular coding. A piece of the
whole, pretty much self contained, that performs it's particular task,
with plenty of comments for documentation. Sort of like where some of
the concepts of OO got started.
Code that cannot be easily maintained is rather worthless ....
--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef at tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486
More information about the Info-vax
mailing list