Hacker News new | ask | show | jobs
by jordinl 5279 days ago
why is it a problem anyway?
1 comments

Use of instance variables to communicate state to views is known to lead to implicit and tight coupling between controller and templates (and become a nightmare to maintain over time)

DHH disagrees with this point of view because he considers templates to be methods of the Controller optimized for generating text. Hence use of instance variables is not a problem.