August 2008 Entries
I've had the opportunity to do some code archaeology lately, and have found a few lessons that bear repeating when it comes to comments. There are a few patterns in use which need to be addressed:
Big Wall of Text
This long, rambling preamble can be found in many legacy applications. Though it does have some use in often providing a name to the faceless coder that is causing you such grief, other than that it has little reason to exist:
/************************************************************************NAME: testPURPOSE: REVISIONS:Ver Date Author Description--------- ---------- --------------- ------------------------------------1.0 7/8/2008 1. Created this package.*************************************************************************/
This is a Comment
Really just a statement of the...
I've started really stepping up my interest / learning in Ruby, and had one of those "this is great!" moments I wanted to share.
At work, we've been pulling some names, etc out of the DB that aren't kept in the correct case, but need to be presented in an eye-pleasing manner to the user. How do we do this?
Since we're talking about strings, a first check of the string class yields ToUpper(), ToLower(), but no CapitalizetheFirstCharacterAndLowercaseTheRestPlzKThx(), so we will have to keep looking.
Capitalization of names is affected by the culture, so this may be found in System.Globalization. ...
On Wednesday, Aug 13, Jeffrey Palermo will be talking about separation of concerns, dependency injection, and test driven development with ASP.Net MVC. This should be an excellent discussion on some of the benefits in using the new MVC framework for ASP.Net.
There are some important points to underline about this meeting:
It will be awesome.
Registration is required to manage headcount, especially for our dinner arrangements. To attend, you must register on the site.
This meeting is not at RTI. The August 13 meeting will be held at ECPI.
This should be a...