|
|
|
|
|
by omribahumi
2949 days ago
|
|
So they should’ve added new tags for layout, instead of table,tr,td,th ? Much like yield vs await in Python3 asyncio. In the Python 2.7 days, people used generator functions to implement async in Python. When Python3 first came out, you couldn’t do both generator and async in the same function. I assume it’s because they used the same mechanism internally. I think it was Python 3.5 which added support for async generators. |
|
3.5 released true asnyc/await based on the `yield from` form and then 3.6 allowed for async generators.
You were close and your point remains. Although I don't think new tags are the right choice. I think HTML learnt a while ago that more tags doesn't solve everything.
I do really enjoy python async. It's cool to see a feature develop from a hack like that but a language first approach could have avoided some headaches. This is where Grid wins, it's a fresh take without requiring to maintain backwards compatibility with previous attempts.