Hacker News new | ask | show | jobs
by TeMPOraL 2528 days ago
> You’d think this would be a fundamental law of software engineering

Agreed, but not for the reasons you quoted.

It should be a law of software engineering because when you're writing code, you aren't writing strings, you're writing a serialized and prettified form of a tree. So when you have two pieces of code you want to join together, you should join trees, not strings.

Breaking this law is precisely why things like SQL Injection even exist in the first place.