Skip to content

Comment on Library patterns: Why frameworks are evilparent

Comments

Ah that's a super explanation there, thank you!

Yeah the templating language is not so nice, I sometimes use Jinja instead. Also, I don't like the classic MVC so I have a completely different structure thus validation your point completely :P

If you ever end up in Django land (for some project), checkout Django Ninja for APIs, you'll end up avoiding having these annoying url files and just have a

@api.get("some/api") def some_api(request):

instead. Super simple and useful. I just recently discovered it and I don't know how stable it is but it seems pretty stable so far.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.