Learning the vi language

I'm a long time user of vi (and I use vi interchangeably for both vi and vim), but it wasn't until recently that I really started to understand the way vi works. Oh, I could be productive in vi, but I wasn't adept at learning…

Installing PEAR on Lion

Needed to install PEAR on Lion, as my laptop hadn't yet needed it. Wanted to see fi there was a way within Lion, and discovered the instructions. sudo cp /private/etc/php.ini.default /private/etc/php.iniphp /usr/lib/php/install-pear-nozlib.pharpear config-set php_ini /private/etc/php.inipecl config-set php_ini /private/etc/php.inisudo pear upgrade-all

Blocks

Do one thing. Do it well. Keep it concise. Use only what is given. Today we continue from Comments and explore how to refactor out code from blocks. In Comments, we learned to extract code out into it's own method whenever we use a comment to…

Comments

I once posted “comments indicate future refactoring.” I want to reaffirm my belief in that, and clearly explain. In order to fully appreciate this, let’s lay down some fundamental beliefs. These are beliefs I have built on experience, and later, I’ll apply them to more…