Re:Ask HN: What would the Dunning-Kruger “test” be for your ...
by xwdv on Thursday January 23, 2020 @05:49PM
(#22133152)
The competent person will say all ORMs are garbage.
Re:Ask HN: What would the Dunning-Kruger “test” be for your ...
by Mike8435 on Thursday January 23, 2020 @06:17PM
(#22133407)
Simplistic "No True Scotsman" bullshit. ORMs provide type safety, ease of refactoring, and reduce a lot of boilerplate. Of course, occasionally you need to bypass an ORM to write complex queries, which is fine. ORMs are not perfect, but are a very useful tool nonetheless.
Some people will dig in to the various tradeoffs involved with an ORM, and pick apart the structure of an ORM. And that should result in an "it depends" kind of answer.
Others are more interested in how a team is going to use an ORM; does it help junior devs write "not awful" code, how does it help me structure my application logic.
Others are stats nerds who will tell you which ones do best on benchmarks, are most popular, etc.
And many people will tell you a story about some ORMs they used, and why they liked them or not.
These answers can be useful for getting a sense of how a person thinks, but they won't tell you if the person is competent.