"be consistent" | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I agree with Anonymous Monk - that's a technical demonstration, not a style guide...
I would probably be inclined to have under10 and under18 in the same page, since they're probably similar, but keep welcome separate. When too much display logic is in your controller your concerns are also mixed up - the controllers that handle logic (deciding on age) should not be concerned with the specific message that the page is displaying. It should be concerned with differences that are fundamentally different in their behavior. At least IMHO.
-nuffin zz zZ Z Z #!perl In reply to Re: The fine line between control and display logic
by nothingmuch
|
|