619

Those who know, know.

you are viewing a single comment's thread
view the rest of the comments
[-] Waldowal@lemmy.world 28 points 2 years ago

The consultancy I used to work for in the late 90s would have crucified any developer that didn't write "a data abstraction layer that allows you to pop off the original db and substitute a different one later".

How many times in my 25 year career have I swapped out the database (and been thankful for such an abstraction layer)? 0 times.

[-] evatronic@lemm.ee 5 points 2 years ago

I am literally in the middle of swapping DynamoDB for a RDBMS.

The idea that you can abstract away such fundamentally different data stores is silly. While I hate doing it now, reworking the code to use relational models properly makes for a better product later.

[-] olafurp@lemmy.world 1 points 2 years ago

I'm going to suggest not using an ORM. I used three so far and it really likes to tell you what you can and can't do when query builders can do the same thing by creating the SQL string for you. SQL is also very nice and easy (just parameterise all inputs to avoid the SQL injection)

[-] prof@infosec.pub 2 points 2 years ago

While he advocates for it, that's also a point that Martin brings up multiple times when he talks about his project "fitnesse".

Basically saying that they left it open how stuff can be saved, but the need has never arisen to actually pivot to a different system.

this post was submitted on 09 Aug 2024
619 points (98.0% liked)

Programmer Humor

41278 readers
10 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS