DEAR "CLEAN CODE" FANBOYS: SQL IS A PROGRAMMING LANGUAGE.
One thing that irks me beyond all reason is Robert Martin’s seething dislike for databases. In every presentation he’s ever given, the one thing he’s sneered at is people who “write their code around a database.” In one of his lectures he says, “I don’t want to see a database in your design. I want to see the objects you’ll use, and I want their names and locations in your project file to reflect how you’ll use them.”
This is probably the lousiest piece of advice he’s ever given. Because let me say this once and simply:
SQL is a programming language, not a storage mechanism.
Continue Reading