News for hackers. Stuff that matters.
Re:Ask HN: How do you mentally manage all the Ruby on Rails ... by azizali on Wednesday December 28, 2011 @03:20AM (#3399082)
I suffer the same problem if 1. I do not have proper comments 2. If I less variables. Its always good to use a ton of variables and minimum Constants. When initializing the variable put in comments what it is for.

Whenever I write code I first of all put down all the logic in pseudocode in comments.

Then I write the actual code underneath the logic comments.

Works for me.

There are no comments on this comment yet.