Browse files

+ more text

  • Loading branch information...
1 parent 5f0f179 commit 061d3b945c635ffd7c7f9236c74081824545f6fa @floere committed Feb 11, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 index.haml
  2. +1 −1 index.html
View
2 index.haml
@@ -33,7 +33,7 @@
and we didn't feel to good about sticking view code into the model. Besides, all view helpers are pretty inaccessible in the model. And for a good reason too!
%p
Even after sticking the code into a helper, thus into the view, this didn't feel much better either, as we had to check for the type of the model. That resulted in a case of case statements which we do not speak about too much nowadays. Even bringing it up here caused me to cringe.
- %em Polymorphism? Sadly, no.
+ %em Masochism? Yes. Polymorphism? Sadly, no.
%p
P.S: Rule number one. We do not speak about case statement club.
%em Ever.
View
2 index.html
@@ -40,7 +40,7 @@
</p>
<p>
Even after sticking the code into a helper, thus into the view, this didn't feel much better either, as we had to check for the type of the model. That resulted in a case of case statements which we do not speak about too much nowadays. Even bringing it up here caused me to cringe.
- <em>Polymorphism? Sadly, no.</em>
+ <em>Masochism? Yes. Polymorphism? Sadly, no.</em>
</p>
<p>
P.S: Rule number one. We do not speak about case statement club.

0 comments on commit 061d3b9

Please sign in to comment.