News for hackers. Stuff that matters.
Re:Django 5.0 Is Released by DarkNova6 on Monday December 04, 2023 @02:32PM (#38521960)
The python team I joined grew their codebase from a thin data access layer into a full blown application. Staff was full of data guys and had no idea about application engineering, but lots of opinions. The client was another company who intended the product as heart of their digital transformation.

Guess who had to refactor this mess and steer away from catastrophy.

I’m haunted to this day.

Re:Django 5.0 Is Released by fbdab103 on Monday December 04, 2023 @02:48PM (#38522181)
That general story can happen with any tech stack.

POC whipped together without good architecture. Having proven itself, usage increases until the application starts to burst at the seams. Program must be redesigned, avoiding performance gotchas.

I still think Django + the ORM give you a lot of runway before performance should be a concern.

Re:Django 5.0 Is Released by DarkNova6 on Tuesday December 05, 2023 @06:39AM (#38529651)
Idk. The python stack strikes as particularly troublesome if you don’t know exactly what you’re doing. There are no guardrails for less experienced devs that prevents you from making basic mistakes.

I also realized mid project that the default rest framework doesn’t support good api model generation from OpenApi or vice versa. And most devs didn’t understand why using untyped dicts everywhere was bad.

In all transparency, I am openly biased for static typing and have a background in java, c# and Swift.

So what we ended up with looked similar to a statically typed language but without the tooling or performance.

Re:Django 5.0 Is Released by rattray on Tuesday December 05, 2023 @07:34PM (#38538970)
Have you tried django-ninja or FastAPI?
Re:Django 5.0 Is Released by DarkNova6 on Wednesday December 06, 2023 @04:07AM (#38541835)
No. It was too late to change. We did not have enough test coverage to change the rest framework with full confidence. And the lack of good refactoring support (or static typing) didn't help either.