Difference between revisions of "Computing"
From Jtkwiki
Jump to navigationJump to searchLine 1: | Line 1: | ||
== Programming Principles == | == Programming Principles == | ||
+ | |||
+ | === General === | ||
+ | * When using random number generators, seed them explicitly to keep your results reproducible. | ||
+ | |||
+ | === Debugging === | ||
+ | * Computers are deterministic machines. All bugs can be reproduced. | ||
=== Object Oriented Programming === | === Object Oriented Programming === | ||
* An instance in a computing process must represent exactly one instance in the modelling domain. | * An instance in a computing process must represent exactly one instance in the modelling domain. | ||
+ | * Use random number generator objects where possible. | ||
Revision as of 18:48, 13 July 2008
Contents
Programming Principles
General
- When using random number generators, seed them explicitly to keep your results reproducible.
Debugging
- Computers are deterministic machines. All bugs can be reproduced.
Object Oriented Programming
- An instance in a computing process must represent exactly one instance in the modelling domain.
- Use random number generator objects where possible.
Databases
- Identification and description must be kept separate.
- Primary keys should be generated where reasonably possible.