5 ms·
Why not Python? I've never seen huge differences between Jinja, Razor, or Blade. Is there something about it you find extra annoying?
by Capricorn2481 3y ago
Why not Python? I've never seen huge differences between Jinja, Razor, or Blade. Is there something about it you find extra annoying?
- pjerem 3y agoIn Jinja, Razor, or Blade, you write, HTML that you enrich. With FastUI, you write Python.
- peddling-brink 3y agoWhen Python is the hammer you have.. Not every web app needs to survive HN levels of traffic. Empowering the <insert profession here> that already knows Python to make an app to automate their team’s toil is a great thing.
- astrea 3y agoExactly. If your team is fully fluent in Python and has a need for a web UI, easier to adopt something like FastUI than try to quickly upskill in JavaScript for a one-off project.
- sirsinsalot 3y agoPerhaps, but it is a false economy. Anyone writing a UI for the web, should be fluent in HTML/CSS and so on. In that case, other templating approaches make more sense. I say this with absolute conviction; you're just deferring costs, technical debts with compounding interest. When you come to pay it off, it'll bankrupt you.
- staticautomatic 3y agoI'm not the least bit ashamed to say that I can't grok CSS today any better than I could when I first tried to learn it about 20 years ago. Whether or not alternative abstractions are "bad" or "wrong" or whatever is entirely irrelevant to me. The worst case scenario is that I end up finding them as painful as CSS.
- LtWorf 3y agoThey can use markup and a mkdocs
- Capricorn2481 3y agoWhat? How is Razor more of HTML than Jinja? Both are mostly HTML with syntax specific to their languages. They don't even look that different. Jinja: {% for item in items %}<br> {{ item }}<br> {% endfor %} Blade: @foreach(var item in items)<br> {<br>@item<br> }