Skip to content

Instantly share code, notes, and snippets.

@Jlawlzz
Created March 26, 2016 23:20
Show Gist options
  • Save Jlawlzz/ad78a643d69dff334620 to your computer and use it in GitHub Desktop.
Save Jlawlzz/ad78a643d69dff334620 to your computer and use it in GitHub Desktop.
I think the rule allowing you to only instanciate one object per view, as well as the rule only allowing for 4 params to be passed through as arguments would be the hardest to adhere to.
- The rule pertaining to only instanciating one object for a view would be near impossilbe in some cases without creating meaningless glue classes to simply adhere to the rule. Some views have SO much info. I think this rule risks inadvertinly informing user experience. In my opinion that type of bleed is unaccessible, this rule should have a close eye kept on it for this reason.
- The rule saying only 4 paramaters can be passed also seems near impossible in my cases (like a form_for). This seems like the rule that would be broken the most, I am not sure there are work arounds for some of the instances when this rule would be broken.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment