News for hackers. Stuff that matters.
Re:Ask HN: Simplest stack to build web apps in 2021? by staticautomatic on Monday November 22, 2021 @10:10PM (#29314194)
I like that following the idiomatic pydantic/data class style in the fastapi docs really forces you down the OOP rabbit hole and puts some guardrails around your architecture (unlike flask, where you’re free to shoot yourself in the foot however you want). What I don’t like is that fastapi gives the appearance of being batteries included, but the docs on the batteries tend to just point to example projects/templates that a beginner will look at and think omgwtf is all this shit (e.g. https://github.com/tiangolo/full-stack-fastapi-postgresql)

There are no comments on this comment yet.