Timeline for Is it considered an anti pattern to write SQL in the source code?
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 20, 2017 at 3:55 | comment | added | mcottle | +1 Good point. Supportability is more important than most other considerations so don't be too clever :) That said, if you're an ORM shop don't forget that there are instances where ORM is not the answer and you do need to write direct SQL. Don't optimize prematurely but there will be times in any non-trivial application when you will have to go down this route. | |
Sep 19, 2017 at 19:38 | history | answered | Pieter B | CC BY-SA 3.0 |