Hacker News new | ask | show | jobs
by catnaroek 3880 days ago
Triggers are an imperative hack. This is like using a C struct with an enum and a union, and claiming that C has "sum types".
1 comments

Agreed that SQL is ugly as hell, but if you want to talk about its theoretical properties that's a separate debate. Theory doesn't care whether something's aesthetically pleasing, just whether it's possible.