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.