Hacker News new | past | comments | ask | show | jobs | submit login
Algorithms as objects (gieseanw.wordpress.com)
2 points by andyg_blog on May 10, 2019 | hide | past | favorite | 1 comment



I perform many code reviews a week, and as a result I see very long functions with a lot of nesting more often than I'd like. I'm even guilty of it myself. This post let's me point at all the reasons for using a class rather than just writing a comment that says "Maybe you have a class here?"




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: