Wednesday, May 30, 2012

RAII or RIIA


Resource Acquisition Is Initialization


It is a programming paradigm where resources are acquired during initialization, when there is no chance of them being used before they are available, and released with the destruction of the same objects, which is guaranteed to take place even in case of errors. More here http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization

Monday, March 5, 2012

Betteridge's Law of Headlines

Any headline which ends in a question mark can be answered by the word 'no'.


Saturday, October 16, 2010

Robustness principle

Be conservative in what you send; be liberal in what you accept.

Also called Postel's law

more here

Saturday, September 18, 2010

Engelbrat's law of maturity

"The rate at which a person can mature is directly proportional to the embarrassment he can tolerate." Doug Engelbrat

Hubbert peak theory

The Hubbert peak theory posits that for any given geographical area, from an individual oil-producing region to the planet as a whole, the rate of petroleum production tends to follow a bell-shaped curve.

Monday, January 25, 2010

Sod's Law of Going Wrong

X = ((U+C+I) * (10-S))/20
Y = (1-sin(F/1 0))

Sod's Law Rating = X*A/Y

urgency (U): 1 <= U <= 9,
complexity (C): 1 <= C <= 9,
importance (I): 1 <= I <= 9,
skill (S): 1 <= S <= 9,
frequency (F): 1 <= F <= 9 ,
Aggravation factor (A): 0.7

More here - http://www.null-hypothesis.co.uk/science/spoof/articles/sods_law_mathematical_proof_humour

Law of Instrument, Maslow's hammer or gloden hammer

When the only tool you have is a hammer, it is tempting to treat everything as if it were a nail.

http://en.wikipedia.org/wiki/Golden_hammer