Visit site Nick Hodges
January 2012
6
votes
Life is Too Short To Call Create
Nick Hodges
– Introduction Okay, so the whole FreeAndNil thing has been going on for a while. Some folks are understandably sick of it, but I’m not. I think it is an important discussion that actually reveals a much deeper issue – sort of like how a fight with your spouse over the toothpaste tube is ...
14
votes
Why You Should Be Using Interfaces
Nick Hodges
– I’ve been railing on why you should be coding against interfaces, and a number of you have been asking me to write an article about it, so I did. It turned out to be pretty long, so rather than make it a blog post, I turned it into an article. Why You Should be Using Interfaces and not Direct ...
3
votes
The Bookstore of the Future
Nick Hodges
– Bookstores are Cool I love bookstores. A lot of people love bookstores. I love hanging around in a bookstore and seeing what is new, what is popular, and what is available. I love seeing the cool games and other non-book stuff they have. I love how most bookstores now ...
1
vote
More on FreeAndNil
Nick Hodges
– I love a good, testy comment section in a blog post. The discussion in the comment section of my FreeAndNil post has been interesting and lively. In addition, the thread in non-technical continues apace, with new threads springing up! Along the way, a couple of interesting ...
7
votes
Produce More, Consume Less
Nick Hodges
– The world seems to be bent more and more on input. The internet company sells you almost exclusively on the download speed they provide, and couldn’t care less about the upload speed. Heck, we don’t care about upload speed much. We are migrating towards devices that don’t have ...
December 2011
2
votes
Flotsam and Jetsam #52
Nick Hodges
– Many of you have headed over to the Delphi UserVoice page and voted on your favorite new feature for Delphi and RAD Studio. (Feel free to go over and vote for this one or this one. ) I’m still an Admin there, and have been, well, doing a bit of administering. One thing I’ve been doing ...
2
votes
Using FreeAndNil
Nick Hodges
– There has a large and ongoing thread in the Delphi Non-Technical newsgroup about the proper use of FreeAndNil. It’s been contentious and a tad touchy, too -- just as I like it. The discussion falls out into two schools of thought: Those that use FreeAndNil liberally ...
3
votes
Flotsam and Jetsam #51
Nick Hodges
– If you missed CodeRage 6, or you didn’t get to every session that you wanted to see (hear?), it is now all online. That link also points to the latest offers and ways to find out more about XE2. I love XE2, and think it’s the best Delphi ever. And I say that not even ...
November 2011
3
votes
One Right Thing at a Time
Nick Hodges
– Wherein I discuss how to do things that you should be doing and how not to do things that you shouldn’t be doing…. Sometimes you tweet something and it makes sense to you, but then you realize that it also kind of begs for more discussion. For instance: “Things move so quickly that ...
3
votes
Flotsam and Jetsam #50
Nick Hodges
– WooHoo! Made it to #50 of these Flotsam and Jetsam articles. I published the first one of these right after I left Embarcadero on July 20, 2010. That’s about once every ten days or so. Not bad. Seems like a long time ago in a galaxy far, far away when ...
4
votes
Flotsam and Jetsam #49
Nick Hodges
– Hallvard Vassbotn has been sighted in the wild! Hallvard is an amazing developer and a great writer, and I’m delighted at the prospect of him starting to blog again, especially given his propensity to stretch Delphi language and RTL features to the limit. Given all the new things that have ...
0
votes
Fun Code of the Week #2
Nick Hodges
– function RandomString(aLength: Integer; aInputChars: string): string; begin Result := ''; if Length(aInputChars) <= 0 then begin Exit; end; Randomize; repeat Result := Result + aInputChars[Random(Length(aInputChars)) + 1]; until (Length(Result) = aLength); end;
October 2011
3
votes
Flotsam and Jetsam #48
Nick Hodges
– I admit it – I am a free cloud storage whore. Ever since I won the BitCasa stuff, I’m all about entering contests for free space. If you are a fan of Dependency Injection, perhaps you might want to have it included as part of Delphi? If so, please feel free to vote for this item on ...
1
vote
Flotsam and Jetsam #47
Nick Hodges
– I may have won a lifetime, infinite subscription to Bitcasa, but I’m not above bucking for the same from DropBox. These are the catalogs that try men's souls. Want to guarantee a lot of comments on a post in your blog? Post some code. You know, I swear, every single ...
3
votes
Delphi Mocks: The Basics
Nick Hodges
– Introduction As you may have noticed, I’ve kind of started to become a championship caliber pain in the butt about unit testing. I walk the halls of Gateway Ticketing saying “If your code isn’t easy to test, you are doing it wrong”. I keep giving my Unit Testing presentation to anyone ...




