TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Algorithms as objects

2 pointsby andyg_blogabout 6 years ago

1 comment

andyg_blogabout 6 years ago
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?"