3
User
Recs.
Recs.
6
Updates
Last
Updated
Updated
Activity
5 Options
Specs
Specs are quantitative aspects of the option such as the price
Pros
Know any positive aspects of this option?
Cons
Con Boolean algebra has some issues
Liquid has some known issues with boolean algebra when it comes to some advanced expressions.
Liquid::Template.parse("{% if false and false or true %} foo {% endif %}").render
# => ""
false and false or true
# => true
It seems that Liquid simply parses from left to right, and if it finds a false and X
it immediately returns false.
Know any negative aspects of this option?