@hughrawlinson Python is catching up on type system grounds. Have a look at fastAPI. There is a whole ecosystem growing, native type hints, static checking (pyright, Ty and more), runtime checks (pydantic).
@xenia thanks, I’ll take a look. I do work with python currently and it seems to be a mess of assertions and poor tooling - but that might just be an us problem.
@hughrawlinson @xenia +1 for FastAPI, although from what I’ve done of it I wish it was a bit more batteries included, I suspect for anything complex you’re going to end up pulling in additional packages.
@hughrawlinson @xenia I absolutely feel you on the original question. Somehow there no longer seems to be an option for “I just want some sanely structured code to put content in a browser” like there was back in the days of PHP being everywhere. (Or maybe my idea of “sanely structured” has changed)