u/MysteriousSeaPeoplesin r/compsci • Recommends
On “I love loop invariants. A well-chosen invariant is useful both when designing, testing, and modifying code. Here are 4 examples (basic to fairly advanced).”
#seanparent#gatheralgorithm#rotatealgorithm
4.2K subscribers • 1 video on Hallway
Advanced. Deep dive for people who know the field.
17K views12 years ago2 recommendations
Programming languagesSoftware designC++AlgorithmsDesign patterns
Sean Parent discusses algorithm design, demonstrating how to exploit loop invariants to build generic algorithms like gather and rotate.
This week brings your our very special guest lecturer, Sean Parent. Sean Parent is a principal scientist for Adobe. Slides available here: github.com/sean-parent/sean-parent.github.com/wiki/presentat… github.com/sean-parent/sean-parent.github.com/wiki/presentat…What people say. Recommended for its excellent explanation of using invariants to design algorithms, specifically the gather algorithm.
u/MysteriousSeaPeoplesin r/compsci • Recommends
On “I love loop invariants. A well-chosen invariant is useful both when designing, testing, and modifying code. Here are 4 examples (basic to fairly advanced).”
u/kwan_ein r/ProgrammingLanguages • Recommends
On “why we as humanity don't invest more on making new lowlevel programming languages”