def test():
print 'hello''
- Heavy use of dictionaries
- Data-oriented
- Memoization (lookup tables)
- Heuristics
The first step is to express all the data in dictionaries. This includes replacing logic by tables, in this case the table columns are dictionary keys.