this post was submitted on 27 Jul 2024
850 points (97.9% liked)

Programmer Humor

19817 readers
74 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 19 points 4 months ago (2 children)

JSON in the DB isn't an antipattern. It is frequently used in absolutely terrible designs but it is not itself a bad thing.

I'm a data architect and I approve this message.

[–] [email protected] 8 points 4 months ago (1 children)

Carrying the body of a smaller plane in a larger plane isn't an antipattern either. Airbus does this between body assembly and attaching the wings.

[–] [email protected] 5 points 4 months ago (1 children)

I think plane people call it a fusilage, because they're weird and like French.

[–] [email protected] 9 points 4 months ago

It’s "fuselage".

It’s called like that because of it came from the word "forme fuselé" (Tapered shape) and it’s a french word mainly because we created it in 1908.

You’re welcome :-)

[–] [email protected] -1 points 4 months ago (1 children)

Why not use nosql if your important data is stored in JSON? You can still do all your fancy little joins and whatnot.

[–] [email protected] 4 points 4 months ago (1 children)

Turn it inside out. Why not use a RDBMS with a NoSQL bit added on the side?

[–] [email protected] 3 points 4 months ago

Specifically so you get mature transactional guarantees, indices and constraints that let app developers trust your db.