User Avatar

Teaching Go for cloud-native microservices to backend beginners. Self-taught developer with 5 years of experience. Making the practical course I wish existed.

If I could restart my dev career…

I’d learn SQL deeply before touching a single ORM. 🧠

Everyone jumps straight to:

→ Gorm
→ Hibernate
→ Prisma

However, no one discusses the one skill that truly matters when things go wrong.

After years of debugging slow queries and ORM mysteries...

Here’s what I wish someone had told me:

Before mastering SQL (aka the painful years):

→ ORM queries that looked clean… but ran like garbage
→ N+1 problems everywhere (“the ORM handles it”)
→ 30-second page loads, I couldn’t debug
→ Weekly Googling: how to optimize [ORM] query
→ Full-on panic when the ORM’s “magic” failed

After learning SQL first (aka the revelation):

→ Writing queries that perform
→ Reading & understanding ORM-generated SQL
→ Debugging DB issues in minutes, not hours
→ Optimizing at the SQL level, not fighting abstractions
→ Total confidence when performance drops

Here’s the truth nobody talks about:

ORMs don’t make databases easier.
They make databases invisible.

Project impact? Night and day:

→ Query debugging: 2 hrs → 10 min
→ DB performance: 10x improvement
→ Incidents: 80% fewer DB-related issues
→ Team confidence: No more query panic

But here’s the problem…

Most devs learn ORMs first.
Then spend years fighting database performance with abstractions.

⚠️ Controversial take:

Learning ORMs before SQL...
It's like learning to drive with training wheels that never come off.

You think you're going fast.
But you’ve got no idea what's going on under the hood.

SQL teaches you joins, sets, and indexes.
ORMs teach you to hope for the best.

What’s one skill you wish you had learned before the abstraction layer?👇

#sql #database #orm #backend #performance #webdev #programming

P.S. — ORMs are not entirely evil; they are great tools once you know what you're doing. Until then, write your SQL queries.