2 ms·
> vulnerable to SQL injections I put part of that blame on languages. When the wrong thing is so much more natural than the right thing, it's bound to happen.
by paulddraper 10y ago
> vulnerable to SQL injections
I put part of that blame on languages. When the wrong thing is so much more natural than the right thing, it's bound to happen.
We use relate (https://github.com/lucidsoftware/relate https://github.com/lucidsoftware/relate), a Scala lib.
sql"SELECT * FROM users WHERE email = $email"
After years and years of no ORM and dozens of junior developers, we've never had a SQL injection bug.