Good Programs Are: Effective, Robust, Efficient and Maintainable

Anton Merinov

Anton Merinov

The author of the article. Interests, skills: Professional administration of Oracle Database, web development, IT-World. More details.

What does a good program mean?… as observed by Nick Gonzalez. A good program is effective: it solves the problem it is supposed to solve. A good program must not crash when it receives bad inputs from users: it is robust. Good programs are efficient: it does the job it is supposed to do quickly. Since the requirements for a program may change over time, a good program should be maintainable, so it can be modified easily when requirements do change. A program can only be maintainable, if its code is written in a clear manner.

Any damn fool can write code that a computer can understand, the trick is to write code that humans can understand. (Martin Fowler in After the Program Runs)

Code is often “unnecessarily complicated, convoluted, disorganized, and stitched together with disdain”, as observed in a post by Santiago L. Valdarrama who recommends using comments when necessary, only to explain things that can’t be made clear enough, but rather make your code reveal its intention through the use of better names, proper structure, and correct spacing and indentation.


Вас заинтересует / Intresting for you:

First Simple Java Program: ent...
First Simple Java Program: ent... 1218 views natalia Thu, 21 Jun 2018, 14:10:35
Getting Started with Java prog...
Getting Started with Java prog... 839 views Doctor Thu, 02 Aug 2018, 04:05:33
Why is Java a Good Choice for ...
Why is Java a Good Choice for ... 965 views Денис Thu, 20 Sep 2018, 15:57:59
Processing - graphics programm...
Processing - graphics programm... 419 views Светлана Комарова Tue, 08 Oct 2019, 10:39:37