Hacker Newsnew | past | comments | ask | show | jobs | submitlogin



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]


I can only say that I like fast_html and how simple it is. Very easy source to read and understand. It is based on generators internally.

I started using it for some documentation generation purposes. I'm not a web-dev.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: