2 ms·
I think the sad proliferation of horrific ORM systems and the thousands of hours put into them by many people is proof enough that this is not just a popular my
by joesmo 12y ago
I think the sad proliferation of horrific ORM systems and the thousands of hours put into them by many people is proof enough that this is not just a popular myth. While I wouldn't say that most programmers hate it, I'd say there is a fair share of those who do. Then again, considering the horrors that are built to avoid SQL, one wonders if they should be counted as programmers anyway.
- jimktrains2 12y agoJust because I hate extracting the results of a query into a structure the program can use, doesn't mean I don't like SQL. It's a very nice language to write relational algebra in.
- twic 12y agoIndeed. The current crop of lightweight semi-ORMs (MyBatis, Ebean, ORMLite, etc) are built around that use case: let programmers write SQL, but automate the conversion of result sets to objects. You can also do this in standard JPA, to some extent, using constructor expressions, although those are pretty verbose.