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.

Generic Class Name Signals Low Cohesion

1 pointsby vackosaralmost 8 years ago

1 comment

mmcnlalmost 8 years ago
I think this article actually addresses non-specific naming of variables and functions, which is something to avoid at all times. Be as specific to what a function, object or class is, at all times. This improves readibility, makes refactoring easier (which should be a continuous activity), reduces the chance of introducing bugs and improves code quality overall. However obvious this may seem, a lot of people I encounter on a daily basis don't do it.