Comment

Comment by craftyguy

This discusses the "how" but not the "why." I'm not a SQL expert, so I find it far easier to maintain my code in a language I am familiar with than to maintain (seemingly cryptic) SQL equations, queries, etc. Is there a quantifiable performance gain with moving more operations to SQL rather than implementing it in my language of choice?

The conclusion states:

> Exploit the power of SQL to write less code because “the best code is the code that was never written”. If it is not written there is no need to maintain it.

But they're wrong, since you still need to maintain all of the SQL implementations...

Edit: I previously said "I'm not a DBA", but some folks seem to be getting hung up on that rather than the rest of my comments/questions.

parent craftyguy 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton