Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I program almost completely for myself. I recently moved up a scale from only being able to write small programs (solving simple mathematical problems) to larger ones.

I think my block from being able to write larger programs was that I would get too caught up in creating classes. I would start a large project by abstracting and abstracting and thinking about the most general class. I found that I just thought about what data fields I needed, not what I actually wanted to do.

More recently I've tried to limit how much time I think about how to store data. Do the quickest thing first, and only think about your data storage when you find yourself writing the same thing over and over.

Maybe you call this "premature abstraction", in comparison to premature optimization?



It sounds like to me that you're finally learning what design means and how to design well. :)




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

Search: