logoalt Hacker News

ventanatoday at 4:26 PM0 repliesview on HN

The well-known algorithms book Cormen et al. describes a lot of algorithms using loop invariants. I must say I never really liked this approach but I admit it makes things easier to reason about.