Software Development Principles

A good software, in the developer POV, should satisfy below criteria:

* FUNCTIONAL (as specified, with reasonable resource) : of course, trivial assumption.

* REUSABLE : currently the most notable criteria, which is the father of OOP andRAD.

* EXTENSIBLE : the brother of “reusable”, in other words, it’s the good side of “flexible” (the bad side is “modifiable/shrinkable” which requires more efforts).

* RELIABLE : even when the software is run in non-specified conditions, it should not lead to system crash/hanging/exploitation, and should produce the most accurate result, while giving the user some warning/caution.

Hence, the pragmatic software development, after LOTS of failed projects, has proven some paradigms to achieve the above criteria in a predictable way. That’s why we have now programming philosophies, conventions, OOP, OOAD, principles, and also a bunch of design patterns.

And here are my notes about some useful development principles:

* KISS: Keep ISimple, Stupid (làm đơn giản thôi, lũ ngốc)
This is not only useful in software development, but also in a wide array of disciplines, such as animation, journalism, photography, engineering, and strategic planning. As Einstein’s maxim: “everything should be made as simple as possible, but no simpler.” .
Surprisingly, there are numerous so-called developers who forget this principle in serious development.

* DRW: Don’t Reinvent Wheels (đừng có phát minh lại cái bánh xe)
This is also a general principle for gaining solutions in shorter time. It is emphasized in software development in which the human cost, which is highest part of software TCO, is proportional to development time and maintenance efforts. If there is a good solution we can get, just take it instead of creating a new solution from scratch, that’s the economical way.

* DRY: Don’t Repeat Yourself (đừng lặp lại cái đã làm rồi)
This principle is about re-use, not about re-invent. Yet it is similar in the economical sense. When re-use some components, we should avoid duplicated information as much as possible, because duplication increases the difficulty of change, may decrease clarity, and leads to opportunities for inconsistency.

* YAGNI: You Ain’t Gonna Need It (còn lâu mới cần đến chức năng đó)
After some experience in programming, a developer usually impose himself on foreseeing unspecified usage and preparing for changing requests. Some even go further by adding functionality (without any request), which usually turns out to break the rate of process. Therefore a developer, though is encouraged to think out of the box, should only implement things when he actually need them, never when he just foresee that he need them.

Well, let’s call it a day.
Design principles and design patterns will be mentioned in next entries .

(^o^)

About DucQuoc.wordpress.com

A coder, brother, and player at times...
This entry was posted in Coding, Marketing, Skill. Bookmark the permalink.

15 Responses to Software Development Principles

  1. Pingback: Eclipse ExtJS jQuery | DucQuoc's Blog

  2. Pingback: Agile Scrum summary | DucQuoc's Blog

  3. Pingback: Scrum Agile summary | DucQuoc's Blog

  4. Pingback: Jenkins CI recommended plugins | DucQuoc's Blog

  5. Pingback: Ubuntu mount UFD | DucQuoc's Blog

  6. Pingback: Improvement request template | DucQuoc's Blog

  7. Pingback: SVN best practices | DucQuoc's Blog

  8. Pingback: Agile developer practices | DucQuoc's Blog

  9. Pingback: Singleton In Java | DucQuoc's Blog

  10. Pingback: Developer Productivity Difference | DucQuoc's Blog

  11. Pingback: Java thread-safe example | DucQuoc's Blog

  12. To avoid ego hurt, we can explain K.I.S.S as “Keep It Simple & Short” .

    Actually, people tend to listen to YAGNI principle than KISS, just simply because the former sounds less “offensive” than the latter :-) .

  13. Pingback: Bug report template | DucQuoc's Blog

  14. Pingback: Logging best practices | DucQuoc's Blog

  15. Pingback: Sprint end DoW | DucQuoc's Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s