First page Back Continue Last page Overview Graphics

The Pirate Code

“… more what you’d call ‘guidelines’ than actual rules”

– Capt. Barbossa, Pirates of the Caribbean: The Curse of the Black Pearl


There are no hard and fast rules in software design that will fit every use case. However, including more than four elements may place a burden on the reader to employ their own chunking on the code without the guides the author can give.