by darrinmn · 4y ago · 0 comments
I find it ironic that the css "when/else" draft spec uses "if" for describing the conditional scenarios in plain english. As if the spec itself admits the syntax they are choosing is clearly sub-optimal.
“When” actually seems better in a purely declarative language.
https://developers.google.com/web/updates/2018/03/smooshgate