News for hackers. Stuff that matters.
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".
Re:The category design pattern by mjw on Tuesday November 10, 2015 @08:08PM (#10544047)
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.