«« Next » « Previous
«« Next » « Previous

Link Details

Announcement

iPhone DZone: Fresh Links On Your iPhone by matt at Sat Jul 05 14:09:51 EDT 2008

Reading DZone on your iPhone just got a little bit easier. Visit http://dzone.com/iphone from your iPhone to try out our beta iPhone support. You can view stories, filter by tags, and login. We'd appreciate your feedback at feedback@dzone.com.

Apathy is the suck. Login and vote now.
Link 82211 thumbnail

By bloid
via 25hoursaday.com
Published: May 22 2008 / 12:46

Recently we got a new contributor on RSS Bandit who uses the ReSharper refactoring tool. This has led to a number of changes to our code base due to suggestions from ReSharper.
  • 12
  • 0
  • 860
  • 258

Comments

Add your comment
User 286486 avatar

Pantuky replied ago:

0 votes Vote down Vote up Reply

The author does not like the fact that ReSharper favors use of the var keyword in just about all cases. The examples given are interesting cases indeed. I can see where the results are less than clear because of this change.

With that said, I love the var keyword, and it is helping me to type less than every. In 99% of the cases there is no loss of clarity.

User 290666 avatar

arnonrgo replied ago:

0 votes Vote down Vote up Reply

I think Dare's article provides a good read - however I don't agree with his conclusion and not just because you can get the type information by hovering over the variable wherever it is used (and not just in its declaration) at least by using said resharper
I blogged my opinion here http://www.rgoarchitects.com/nblog/2008/05/21/ShouldYouUseTypeInferenceInCVar.aspx

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.