|
|
|
|
|
by aitchnyu
819 days ago
|
|
Wish GVR updates pyxl4(used by Mixt) and includes it into Python. It could be used for html, xml, yaml and its config language friends and declarative UIs like React. IMO if and for are better implemented in Jinja or JSX better than Python's ternary and list comprehension. Comparison at bottom. Most of the frameworks here are calling side effects upon shared objects in the guise of `with` statements. Not to mention the extreme verbosity. > <if cond> > <long code 1> > <else> > <long code 2> > > [longcode1() if cond else longcode2()] > > <for i in ls> > <long code 1> > >[longcode() for i in ls] |
|