Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
DandyDev
· 2y ago · 0 comments
Agreed. Triggers always feel really clever and powerful, but they live outside your regular application code and are therefor more or less invisible. This will eventually break the law of least surprise.
On top of that, triggers are hard to test.
Comments
[–]
dventimi
2y ago
Not if your regular application code is in the database