| I've met developers like that. Although honestly, sql is more than 40 years old and can be really nasty. Stored procedures, each database has a different dialect, nullability comparisons, CTEs. It's very different from any other programming language. It's not that hard to imagine people finding it hard to learn, especially front-end web developers who'd rather not touch the backend. If people don't know how indexes work, then it'll perform really badly as well, which would make databases like mongodb all the more attractive. Not all developers are formally schooled, a lot of people don't know what a relational database model is. I've seen people: * Iterate over entire tables to get to a small number of records * Not using joins, having the ORM "magically" handle everything (lazily getting non-joined values in separate queries, resulting in thousands of queries) * Denormalize everything, and then wonder why things are inconsistent and hard to query |
From the list of bad practices you've "seen" people do in SQL, I would guess their comfort zone code is probably a hot mess as well.