News for hackers. Stuff that matters.
Re:What ORMs Have Taught Me: Just Learn SQL (2014) by lmilcin on Wednesday October 21, 2020 @03:15AM (#24845470)
I have been working with Java for the past 20 years.

I have noticed that over the years the knowledge of SQL eroded a lot in population of Java developers. Not only that, but the design of application seems to be lacking. Where problems could easily be solved with a little bit of efficient SQL people mindlessly accept huge performance losses due to ORM as if they just did not see other possibility.

Re:What ORMs Have Taught Me: Just Learn SQL (2014) by hackerfromthefu on Wednesday October 21, 2020 @03:59AM (#24845697)
It makes sense .. if all you have is a hammer ..

The problem is exacerbated though by the amount of churn on styles of hammers, and newer developers are often too hammered to pickup other tools ..

Re:What ORMs Have Taught Me: Just Learn SQL (2014) by TeMPOraL on Wednesday October 21, 2020 @12:15PM (#24849237)
I've noticed this about few things. Regular expressions are another - they have this bad reputation as "write-only, magic one liner hacks" that should absolutely be avoided. The proposed alternative is usually one or more dozens of lines of manual string operations in a loop. It feels like it doesn't enter the minds of people in some companies I worked in that regular expressions are a separate language, one that you should learn.
Re:What ORMs Have Taught Me: Just Learn SQL (2014) by cptwunderlich on Wednesday October 21, 2020 @05:12AM (#24846066)
And layers of abstraction make it worse. Devs don't know SQL because Hibernate, now new devs rely on the "auto-magic" of Spring Data JPA and don't now Hibernate...
Re:What ORMs Have Taught Me: Just Learn SQL (2014) by forinti on Wednesday October 21, 2020 @05:37AM (#24846168)
I've heard quite a few times the argument that by using Hibernate, you don't need to know SQL. But Hibernate's manual is huge.