Re:The category design pattern
by catnaroek on Monday November 09, 2015 @10:09PM
(#10537389)
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".
[ Parent
| on HN ]
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.