Skip to content

Instantly share code, notes, and snippets.

@kristindiannefoss
Created June 24, 2016 16:21
Show Gist options
  • Save kristindiannefoss/3cfd7d0a1817e86b4870f08ea8500907 to your computer and use it in GitHub Desktop.
Save kristindiannefoss/3cfd7d0a1817e86b4870f08ea8500907 to your computer and use it in GitHub Desktop.
Responding to an article

Sandi Metz's Rules for Developers

Which of Sandi's rules do you feel like might be the hardest to follow—why?

Never having written an app in JS, I have a limited perspective, but the rules do seem overly ridgid. I have a hard time believing that every app could be constructed in exactly this way. But It does seem a good idea to have a structure to shoot for. I think the hardest one to implement, for me at least, would be only one instance variable in a view. Depending on the view, there are a lot of things that may need to get passed in. But the author uses partials and other work arounds. I would be intersted to see how the rules play out in an actual application. Writing code for a rails app may be very different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment