1974 shaares
6 private links
6 private links
7 results
tagged
poo
interpretor pattern
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.
Defining object in javascripts
Why it's bad to use if statement in a oo language