Hacker News new | ask | show | jobs
by seiji 3938 days ago
Try to structure your problems as: If a pre-existing library existed to solve my problem, what would it look like?

Then, go and create that library. You'll get more reuse (and better test coverage, maintainability, open-source ability) than just making spaghetti code every time.