4 ms·
I appreciate your point of view. It's not my intent to confuse noobs. You're right, with that in mind, the conventional wisdom is worth retaining so to instil
by bhauer 13y ago
I appreciate your point of view. It's not my intent to confuse noobs.
You're right, with that in mind, the conventional wisdom is worth retaining so to instill the proper fear of treating database queries as trivial. Thinking of queries as cheap--or not thinking about queries at all--is what gets applications into a state where a single request runs dozens if not hundreds of queries to deliver what is effectively static content! :)
That said, I've met more than a few senior folks who continue to fiercely stick with the premise that database queries trump all. As someone else in this thread said, profiling can be illuminating, even for senior developers. But it seems on that point, we're all in agreement.