timharvey

PPL: Day 8 - Horizontal formatting

This is part of the Peer Pressure Learning 30 series. Go read my introduction to the experiment Miles and I embarked on.Monday morning and I’m back on track. It’s barely 8:00am and I have my reading done.## Today’s reading: pg 85 - pg 92

This section on horizontal formatting really challenged some of my thoughts on code. As I said before, I’m a bit of a geek for formatting code a certain way. Uncle Bob (the author) isn’t as infatuated with the little “beauty” details as I sometimes am. I routinely line up assignment operators, hashrockets, or any other element that’s repeated on multiple lines. He points out some reasons not to do that, despite the visual appeal.An example of my hyperactive horizontal alignment from the filtering Twitter Proxy I wrote: