fbpx

Program the world where you wanna live!

Program the world where you wanna live!
Reading Time: 5 minutes
  1. Methods can be no longer than five lines of code.
  2. Pass no more than four parameters into a method. Hash options are parameters.
  3. Controllers can instantiate only one object. Therefore, views can only know about one instance variable, and views should only send messages to that object.