3 ms·
Since JS got map and ternary operator of condition?true():false(), its easy to make pure functions that return a tree of components. Whereas most Python ui/html
by aitchnyu 2y ago
Since JS got map and ternary operator of condition?true():false(), its easy to make pure functions that return a tree of components. Whereas most Python ui/html languages resort to doing side effects on a global object. Wonder if there will be a PEP for a typesafe templating language.