Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
andrepd
· 5y ago · 0 comments
Asserts have run-time cost. What you need is to ensure ensure those preconditions are met in the first place, statically, by formal methods for example.
Comments
[–]
throwaway_pdp09
5y ago
Which is ideal, but generally beyond reach for now. So assertions it is.