mcdonaldland » 2008 » April

Method Names

7 04 2008

Quick, what does this method do:

isSupressMultiLanguage()

If you guessed that it determines if multi-language is turned on or off you’d be correct.

Quick, what does this method do:

isMultiLanguageSupressed()

If you guessed that it is does the same thing, you’d be correct.

The point of this is that each is readable. One may flow off the tongue slightly easier than the other, however both are perfectly legitimate verbiages for the underlying flag. Both point directly to the intent of the method and give a clear picture of what its purpose is.

So what is the opportunity cost? Zero. From a development standpoint it is pretty clear that these mean the same thing and a developer can get a feel for what each method does at a glance. As long as a developer can tell what a method does from just the name, the actual naming of the method is just a matter of personal preference.



My Bookshelf

4 04 2008

I get asked from time to time what I read. Here is what my current bookshelf looks like.

I recently finished these:
Confronting Reality: Doing What Matters to Get Things Right
The Life of Pi
In the Line of Fire: How to Handle Tough Questions…When It Counts
I Am Legend

I am currently reading these:
The Peopleware Papers: Notes on the Human Side of Software
Principle-centered Leadership
Code Complete: A Practical Handbook of Software Construction

I have these lying in wait:
Java Concurrency in Practice
The Algorithm Design Manual
A Beginner’s Guide to Discrete Mathematics
The Age of Turbulence: Adventures in a New World

I plan on buying these but want to finish what I have first:
Getting to Yes: Negotiating Agreement Without Giving In
The Toyota Way
Facts and Fallacies of Software Engineering (Agile Software Development)
Peopleware: Productive Projects and Teams



I had given up…

3 04 2008

So somewhere around 6 months ago I tried to go on technorati and link my profile to this site. I got errors and, following the directions on the page, sent an email to support to get things taken care of. I eventually figured that I wasn’t going to hear back and gave up on it.

I got this email today:

Hello,

Please accept our apologies for the delay in
getting back to you. We are currently
experiencing a backlog in Support, but are
working very hard to address everyone.

I have made a small adjustment in our
system. Please wait 24 hours. At that time,
you should be able to claim your blog.

Please don’t hesitate to contact us if you
have other questions.

Thank you for using Technorati!

[NAME REMOVED]
Customer Support Specialist
Technorati

What do I make of this? On one hand it is utterly ridiculous that it took 6 months to get a response, even if the response was just to say, “hey, we are really busy - we’ll get back to you when we can.” On the other hand, they claim to have fixed the problem.  Better late than never I suppose.