Created
May 8, 2016 00:39
-
-
Save natevenn/8d3c17a1cf1af8ae6a95fe289e7e1c59 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Other than the first time I wrote some JS code that chained several callback functions that each required parameters and | |
I ended up passing in 6 parameters to the initial function, I havent had to pass more then five parameters in ruby. Therefore | |
I dont see the four method argument that challenging yet. So I then must say that the one instance variable per controller action | |
is probably the hardest to follow. I can think of numerous views that need access to different objects and classes. But the one | |
solution mentions (facade pattern) seemed like a easy solution to the one instance variable. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment