Stout Man Talking

Posted by Rick DeNatale Thu, 26 Feb 2009 16:54:00 GMT

Better late than never

A few weeks back Jared Richardson interviewed me about the talk I gave at the inaugural RubyRX No Fluff, Just Stuff’s first foray into a Ruby oriented conference.

Although this was supposed to be published before the conference, it’s just now made it to the DZone web site. I hope you enjoy it.


Inject Some Thoughtful Craftsmanship Into Your Approach To Ruby Coding

Posted by Rick DeNatale Wed, 18 Feb 2009 16:52:00 GMT

For some reason, some people who hang out on ruby-talk seem to have a compulsion to periodically opine that “inject() is always the inefficient solution possible.”

I think that this statement, even if it were true, which I’m pretty sure it isn’t, being a claim for universality, isn’t particularly good advice.


Erich Gamma on Eclipse Lessons, Agility, and Open Source

Posted by Rick DeNatale Sat, 14 Feb 2009 16:48:00 GMT
Dont Swing!

InfoQ recently published video of Erich Gamma's talk at QCon London 2008 about how his seven years of experience with Eclipse have changed his views on software development.

I enjoyed having another opportunity to hear Erich, one of the "Gang of Four" and a former colleague at OTI. Erich has always been an engaging speaker. I recall his status talk at the annual OTI technical conference around the time when VisualAge MicroEdition was making the transition to Eclipse, and from Swing to the new OTI developed SWT. Erich, who lives in Zurich, and is quite the alpine skier, talked about the problems we'd been having with Swing, illustrated with a slide he took at one of the Swiss ski resorts of a warning sign posted near one of the chair lifts, showing a pictogram of a skier about to fall out of a dangerously rocking chair lift seat, with a sign below in English saying "Don't Swing!." This may or may not have been the same conference where I had the opportunity to chair with Erich and Kent Beck when they were first pairing on JUNit. Something I got to do again on one of my business trips to the OTI labs in Zurich.


GITin GIT

Posted by Rick DeNatale Thu, 05 Feb 2009 16:45:00 GMT

I've been using git for some months now, trendsetter that I am!

I've used quite a few source code/versioning/configuration management tools in my day, including, in roughly reverse order, svk, subversion, cvs, envy (for Smalltalk), and CLEAR/CASTER. Git has continued to amaze me with its power and flexibility.

Of course, with all that power and flexibility, there's a lot to learn, and sometimes "proactive interference" causes me to type:

git revert some_file.rb

When I really meant:

git checkout some_file.rb

because SVN habits die hard. Fortunately, the first command doesn't do anything since git revert takes a commit and not a path, so it just interrupts my thought processes a bit.

A recent tweet made me aware of EasyGit a wrapper for the git command which tries to make git act more "naturally." I guess that this is good stuff for some, but I don't think that it's for me. I'd rather take my lumps in learning something new, whether it's a programming language, a human language, or a tool. Otherwise I find that I end up with the equivalent of "speaking" with an accent. On the other hand, the documentation for EasyGit looks like it will be worthwhile to digest in order to understand the differences between git and, say SVN, a bit better.

Here are some other resources I've found helpful in grokking git.

Peepcode's Git Internals PDF
Very good coverage of git, how it works and most importantly how to use it. Written by Scott Chacon who wrote Grit, the git 'engine' written in ruby that powers github.
Git from the Bottom Up
Another guide to git focusing on how its implementation informs on how best to use it. Less comprehensive than the peepcode PDF, but it's ten bucks cheaper, i.e. it's free.
GitReady
A fairly new web resource, it provides a new, well written tip on git daily, for beginners through advanced git users. There's an RSS feed so that you can get reminders of new articles.

Finally, much as I love most of the offerings from the Pragmatic Programmers, I found Travis Swicegood's "Pragmatic Version Control Using Git" just a little disappointing. I'm sure that many will find it useful, but IMHO, it comes across as a rewrite of a generic version control book, even though it really isn't. Somehow, the things that make git git, rather than svn++ just don't seem to come across. But, hey, that's just my opinion.