Programming rules (even in non web development)
- 1- Aim at most simple readable solution
-
- - No tricky code (even if it works): un-readable => un-maintainable => un-reliable
- - KISS principle (Keep It Simple, Stupid)
-
- (Writing simple and readable code may not be simple!)
- 2- Prefer simple standard code rather than using existing libraries
-
- Standard will be maintained through time, libraries may not
- Libraries add extra cost (bandwith, latency, maintainance, bugs, etc.)
- 3- But prefer existing libraries to complex home made tricks
-
- Do not re-invent the wheel for real projects (only to learn)