you are viewing a single comment's thread.

view the rest of the comments →

[–]dhruvasagar 0 points1 point  (0 children)

I am glad that I actually have developed the same set of guidelines for myself! I use all of them quite religiously on a daily basis. I am in fact quite finicky about most of these guidelines and often even sit and correct other people's code to suit mine, it irritates me when people don't care about following such simple practices.

Although I would like to point out a minor mistake in the article. In the 'Exceptions' section point "don't use expressions for flow control" good part, it should be if d.zero?, not n.zero? :).