I started reading Eloquent Ruby in preparation for Dev Bootcamp.
Some things I heard my husband say but hadn't actually read them anywhere. Some things I just thought about but now I've seen them written.
Go easy on the comments. I thought about this before because the important ones would be buried in with all the unnecessary ones.
In Ruby you can use parenthesis or not but programmers favor parenthesis. But sometimes they are forbidden. Don't use them with puts or if you are defining or calling a method with no parameters, leave the parenthesis off.
Use 2 spaces to indent. Don't use tab. Tabbing can be inconsistent.
Name variables with lowercase_words_separated_by_underscores. I knew this but learned this is called "snake case."
This is only Chapter 1 so I plan to learn many more tips.