News for hackers. Stuff that matters.
Re:Show HN: Spellbinder, real-time view/model binding for ba... by calebio on Friday May 17, 2013 @09:44PM (#5727578)
Personally I would hate large amounts of logic in my attributes like that. I much think that properly formatted and structured JavaScript solves this problem much better. Especially when the same logic applies to two elements and you can create a function for it.
Re:Show HN: Spellbinder, real-time view/model binding for ba... by mattinsler on Friday May 17, 2013 @09:47PM (#5727589)
Rivets actually does a great job allowing you to create functions for similar formatting, which allows you to have very very short attributes, which in turn ends up being multiples of lines less than the equivalent javascript.