News for hackers. Stuff that matters.
Re:Surviving Django, if you care about databases by marcus_holmes on Friday August 07, 2020 @04:32AM (#24079685)
No, it's really not.

A better analogy than the language one: Your web app has to run on Firefox, Chrome, and... IE6 yay! You're not allowed to use any modern Javascript, or most of the API's you'd like to use.

Because being able to switch to IE6 at any point in development is more useful than any of those fancy-dancy API's, right?

Re:Surviving Django, if you care about databases by sago on Friday August 07, 2020 @09:56AM (#24081837)
Meh. All analogies are partial.

If there was an ORM that dealt with everything but a flaky end of life database, sure start working on it.

But this is advocating picking one platform. Like creating Chrome-only JavaScript. I guess the nearest thing with Electron.

Yeah the analogies breakdown at some point.

I don't think anything is black-and-white. I just think the vast majority of Django apps are fine with Django's ORM. This article smacked of premature optimisation.

Re:Surviving Django, if you care about databases by marcus_holmes on Friday August 07, 2020 @10:06AM (#24081969)
I always get the feeling that people love ORMs because they don't want to learn SQL.

Because if you do learn some SQL, then the problems with ORMs become annoyingly apparent.

I agree that most Django coders will be fine with the ORM. I guess I don't see that as a good thing, though.

Re:Surviving Django, if you care about databases by sago on Friday August 07, 2020 @10:41AM (#24082368)
> I always get the feeling that people love ORMs because they don't want to learn SQL.

I suspect that's the problem. It's neither my feeling or my experience.

Every platform/language/OS/chip I know has annoyingly apparent problems. In my experience high-self-conidence-low-self-awareness folks are too keen to drop-level and 'make it right'. And love feeling how smart they are ('everyone who disagrees is obviously not as smart!) Too often 'smart-guys' cost more, long term. And I'm not ragging on you. That was me in my 20s. Embarrassingly.

Re:Surviving Django, if you care about databases by marcus_holmes on Friday August 07, 2020 @11:19AM (#24082806)
hehe, I'm in my 50's and have been doing this for >25 years. I still don't know where that line is
Re:Surviving Django, if you care about databases by jordic on Friday August 07, 2020 @10:54AM (#24082509)
Agree, at least for me, I don't discovered the sqlsuperpowers till I got inside it... I would love to see some of this pretty clever orm migrations applied on a busy potgresql server.. with a bit of concurrency... :)