Hacker News new | past | comments | ask | show | jobs | submit login

"constructing strings of code...which after being constructed have to be parsed for every single query?"

I don't know about MySQL, but my database caches compiled queries.

"Things like SQL injection attacks simply should not exist."

They don't exist, if you don't construct SQL queries by concatenating strings and variables.

Meanwhile, all the cool kids are talking about getting rid of procedural code in favor of declarative DSLs...




The article sounds like they will be trading one set of problems for another, if they implement SQL on any RDBMS using those techniques.


"They don't exist, if you don't construct SQL queries by concatenating strings and variables."

My point is, people still do this. You never hear about REST-injection or memcached-injection attacks, even though those are possible in principle, because those protocols don't encourage this mistake the way using SQL as a database API does.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: