3
shouts

wijix | Var Wars – Abuse of the CSharp var

posted by http://pjacobs.myopenid.com/http://pjacobs.myopenid.com/ 411 days, 17 minutes ago
Monday, June 15, 2009 1:57:49 PM GMT

Just because a compiler can infer the type does not mean a human should have to be forced to do it when reading it. If we wrote code just to make compilers happy we should be writing Assembly. Why then use an Object Oriented Language? But since code is written for developers to be able to read and maintain it and not just for compilers to compile it, it should be as descriptive and readable as possible.

category: Architecture | clicked: 7 | | source: wijix.com | show counter code
tags: C#, Rants, Tips and Tricks

No comments yet, be the first one to post comment.

To post your comment please login or signup