HDNUG – October/09 Meeting – Recap
I attended the Houston .NET User Group October ’09 meeting last night. There was a good turnout of about 75-85 people in attendance.
Announcements -
- Next month Zain Naboulsi will be presenting on Windows 7 for developers
- There is an upcoming ASP.NET User Group that will likely be on the 4th Tuesday of each month – no dates set yet
Main topic -

Claudio Lassala gave a great talk titled Be a Professional Developer and Write Clean Code. Below are some of the points covered.
- What is clean code? Elegant and efficient, can be read and enhanced, simple and direct, etc…
- Computers do not care what your code looks like
- Name variables so that you don’t need comments
Instead of –
//Setting employee’s first name
string field1 = “Rhonda” ;
Use this –
string employeeFirstName = “Rhonda”;
- If you have source control, there is no reason to keep code commented
- NDepend – a good tool that provides metrics for your code
- Functions should do one thing and do it well
- Vertical Distance – Declare variables close to where they are used. There is no need to declare all variables at the top of the program.
Presentation Materials for Be a Professional Developer and Write Clean Code
There were a lot more great points, but I had to leave before Claudio was finished. He did a great job of explaining how bad code should be rewritten.
Looking for a user group meeting to attend? Check out my Houston Tech Groups and Events page.
–
Until next time…
^..^
Posted on October 9, 2009, in .NET General, C#, Community, Development. Bookmark the permalink. Leave a Comment.







Leave a Comment
Comments (0)