Navigate Select ESC Close

The case against SQL

2025-05-03 Science & Technology
162.7k
3.3k
1.0k
Theo - t3․gg
Theo - t3․gg
551.0k subscribers

Unlock all features

FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.

Description

Uncle Bob made a couple of posts about why SQL was a mistake, and I actually kind of agree with him... Thank you Lovable for sponsoring! Check them out at: https://soydev.link/lovable SOURCES https://www.youtube.com/watch?v=8ncQrGuunHY https://x.com/theo/status/1917374746725081309 Want to sponsor a video? Learn more here: https://soydev.link/sponsor-me Check out my Twitch, Twitter, Discord more at https://t3.gg S/O Ph4se0n3 for the awesome edit 🙏

Top Comments (10)

@ccash3290 2025-05-03

"There are two kinds of languages: the ones people complain about and the ones nobody uses"

1.1k 25 replies
@JackSparrow-z3l3s 2025-05-03

I understand that SQL is suboptimal for interacting with data programmatically. But the web is still built entirely on Javascript so I don't want to hear anyone talk about suboptimal languages.

802 80 replies
@WewasAtamans 2025-05-03

Took me couple minutes to understand SQL. Still can't understand how effin Elastic Search queries work.

381 12 replies
@ianengelbrecht4773 2025-05-03

I got into database, and then programming, 20 years ago, because it was easy to understand SQL

161 2 replies
@AbhinavKulshreshtha-v3q 2025-05-04

SQL is amazing!! Last night, I replaced 4 loops, multiple mappings, and 3 db calls, with one single query on 3 inner joined tables, which is much more readable than whatever old code was.

109 8 replies
@danielpitts6913 2025-05-04

I feel like his take would be more like "There should be an API to allow you to build a query not using a SQL string intermediate"

79 17 replies
@1337bitcoin 2025-05-03

Theo, you can't just say "clean code has done irreparable damage" without making a follow up video!

25 4 replies
@ohmygosh6176 2025-05-03

Year 2000: start using SQL Year 2010: stop using SQL and start using NoSQL Year 2020: stop using NoSQL and start using Redis or KeyDB Year 2030: stop using Redis and use flat file like SQLight since NVME SSD are 4x faster then RAM and massive storage. Year 2040: stop using SQLight and start using LightPath DB which uses light to store and retrieve data which is Infinite times faster than anything else. Year 2050: End of civilization due to war (birth of prime 1)

21 2 replies
@shadeblackwolf1508 2025-05-03

Java has a library called JOOQ, that while it produces SQL under the hood, really attempts to do this.

9
@mikhalpalych 2025-05-04

34:11 i think the UB's point was that this "ORM" should be some standartized thing like (and instead of) SQL so everyone would be knowing its interfaces instead of sql syntax. So it wouldn't be tied to some programming language.

9

Unlock the Data Inside
Turn Videos into Knowledge

  • Get FREE 10/day: transcripts, summaries, chats
  • Chat with videos, export text & PDF
  • $1 free API credit for RAG, chatbots & research

Free forever plan • All features unlocked

App screenshot