|
|
|
|
|
by whstl
1049 days ago
|
|
Yep. But also, I've met plenty of people that know SQL but have an aversion to using inline SQL escape hatches out of purity. One fun case I witnessed involved a junior developer adding the desired/resulting SQL as a comment to every complicated Rails AREL queries, so that people could know what the query was doing. Then, after seeing that, one of the tech leads determined that EVERY query should have SQL on top of it, for consistency, even things like User.all had the `SELECT * FROM users` on top. In hindsight it's funny but it was a terrible team and a terrible software. |
|