3 ms·
How can you call something logic-less and then immediately proceed to discuss conditionals? True/False is logic. http://slim-lang.com/logic-less.html http://sl
by spooneybarger 15y ago
How can you call something logic-less and then immediately proceed to discuss conditionals? True/False is logic.
http://slim-lang.com/logic-less.html http://slim-lang.com/logic-less.html
I'm a big fan of logic-less templating systems, I've used logic-less templating systems, I've written a logic-less templating system and this is no logic-less templating system. It does a nice job of making the logic seem less obtrusive, but it is not without logic.
- wccrawford 15y agoIt looks like they're trying to say you can use it without writing your own conditionals, and it'll do a LOT of magic on the backend for you.
- spooneybarger 15y agowhich is nice feature for cleaning up logic in templates and making standard logical tests nicer to look at it but is misnamed as 'logic-less'.
- stonean 15y agoYou can't completely remove logic from the view, but you can enforce LESS logic. In other words, you are not free to dump a lot of code into the view, there are restrictions. This is term is used by Mustache as well. http://mustache.github.com/ http://mustache.github.com/
- spooneybarger 15y agoNo. You can completely remove logic from the view. I've used more than 1 templating system that does exactly that and have written one.