🤔 @mpj wrote an interesting gist & discussion on JSX vs Templating which has prompted me to think about how you judge complexity and how you decide to take on complexity. Got any thoughts?

Gist here: https://gist.github.com/mpj/d37bb421efe1e3eda4a6da7e18864362

@dnrvs @mpj for me Vue templates look more understandable and clear than that compact JSX. I know JS but I have no idea what will be rendered after looking into that JSX for 5 seconds. I also think it is bad to mix 'programming' style (Array.filter, map) in JSX. It is hard to see where logic goes. In templates (lodash, angular, etc) it is separated.
@DmytroGladkyi @dnrvs I made a bit of mistake there. The article attacks a an overly pedagogical JSX example for being verbose, so I show how it can be made very terse, but then it become too terse (nested ternarys ARE satan).
@dnrvs @DmytroGladkyi the point that I was trying to make in the piece was that templates are misleading when it comes to readability. The JSX takes more time to parse because you're not only seeing WHAT is being rendered, you're also seeing HOW that happens. A template is easier because it only shows WHAT, which is great until you start trying to write the templates - then you have to start hitting docs.