clean code

Quotes from Clean Code

Back in 2013 I read the book Clean Code by Robert C. Martin, and in an effort to keep that book alive with me a little while longer, I decided to make my own “Cliffs Notes” version of the book on this page. One of my favorite notes from below is that a language named LOGO used the keyword to in the same way that Scala uses def, so a method named double would be defined as to double... instead of def double..., which seems like it would help developers name methods better.

Writing clean code is faster than writing messy code alvin June 26, 2017 - 11:18am

“No matter how slow you are writing clean code, you will always be slower if you make a mess.”

~ Bob Martin (via this tweet)

LOGO used “TO” like Scala and Ruby use “def” alvin June 30, 2016 - 9:15am

I ran across the following page in the book Clean Code, and it really caught my attention. In short, there is a programming language named LOGO that apparently used to keyword TO in the same way languages like Scala and Ruby use “def.” This is described near the bottom of the page in the following image, in the area I highlighted:

Clean Code - The TO keyword in the LOGO programming language

I’ve never used LOGO, but that sounds like a clever approach, and since I ran across this discussion, I have to say, it’s had an effect on my methods. Every time I type “def,” I think “TO,” and it makes me think a little bit more about how I want to write my method.

For more information on book, check out the Clean Code book.

A description of 'beautiful code' by Ward Cunningham alvin April 16, 2013 - 3:15pm

A description of 'beautiful code' by Ward Cunningham. From the book, Clean Code.

Favorite quotes from the book 'Clean Code' alvin March 1, 2013 - 7:35am

I just went through my notes on the book, Clean Code, and thought I'd share what I thought were some of the best quotes and “lessons learned” from reading that book.