posted on Nov 25, 2015, and last updated on Sep 24, 2020
Some of these are inspired by The Power of 10 Rules by Gerard J. Holzmann.
Avoid complex flow constructs, such as goto and recursion. Read more.
All loops must have fixed bounds. This prevents runaway code.
Avoid heap memory allocation
Restrict classes to a single printed page
Restrict the scope of data to the smallest possible
Abstain from using void (except at entry-point) in functions.
posted on Sep 24, 2014, and last updated on Jan 18, 2022
The world wide web has evolved into two major categories: websites and web applications. This is my personal way of distinguishing between the two.
Dynamic Promotes staying on few pages. Keeps all people on the same sites. Further reading Web of Documents Daniel Janus Works means that the
posted on Aug 29, 2014, and last updated on Nov 15, 2021
I needed the opportunity to run several checks in one git hook. To accomplish this, I wrote croc1. It’s a very simple and crude script with some pretty printing. It’s very useful for running checks as git hooks.
To use the dispatcher, symlink it to the desired git hook stage, and create a corresponding directory. Symlink or move any existing scripts into the dispatcher directory. Git hook will trigger the dispatcher, triggering any scripts not marked as .