Resharper? What's the big deal?
-
I noticed in the thread about what vs2010 add-ons do you use that a lot of people said re-sharper. I looked at the features and I honestly don't see what it brings that's truly useful beyond what you already get in the IDE. To further refine that question about add-on's can people who use Resharper explain what the exact feature of it is that makes it worth while?
“If you want to build a ship, don't drum up people together to collect wood and don't assign them tasks and work, but rather teach them to long for the endless immensity of the sea” - Antoine de Saint-Exupery
-
I noticed in the thread about what vs2010 add-ons do you use that a lot of people said re-sharper. I looked at the features and I honestly don't see what it brings that's truly useful beyond what you already get in the IDE. To further refine that question about add-on's can people who use Resharper explain what the exact feature of it is that makes it worth while?
“If you want to build a ship, don't drum up people together to collect wood and don't assign them tasks and work, but rather teach them to long for the endless immensity of the sea” - Antoine de Saint-Exupery
John C wrote:
what the exact feature of it is that makes it worth while?
You set rules that tell you that the code you wrote is wrong.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick Visit the Hindi forum here.
-
I noticed in the thread about what vs2010 add-ons do you use that a lot of people said re-sharper. I looked at the features and I honestly don't see what it brings that's truly useful beyond what you already get in the IDE. To further refine that question about add-on's can people who use Resharper explain what the exact feature of it is that makes it worth while?
“If you want to build a ship, don't drum up people together to collect wood and don't assign them tasks and work, but rather teach them to long for the endless immensity of the sea” - Antoine de Saint-Exupery
Lots of people where I work swear by it but personally I find it annoys me more than it helps (incorrectly highlighting things as errors which then go away after a clean + rebuild, that kind of thing). The test runner for running nunit tests within VS works quite well though. Many of the refactorings suggested get overused and in my opinion result in worse code than what was there before (such as replacing all the uses of foreach with a .ForEach() lambda which I see as unnecessary) but each to their own I guess....
-
Lots of people where I work swear by it but personally I find it annoys me more than it helps (incorrectly highlighting things as errors which then go away after a clean + rebuild, that kind of thing). The test runner for running nunit tests within VS works quite well though. Many of the refactorings suggested get overused and in my opinion result in worse code than what was there before (such as replacing all the uses of foreach with a .ForEach() lambda which I see as unnecessary) but each to their own I guess....
Ahh it starts to become clear, another way to embrace the gray men in accounting and ditch the last vestige of artistry that used to exist in this profession. :) Why are developers so keen on shooting themselves in the foot? There used to be a time when a developer was a valued craftsman who couldn't be outsourced but those days are long gone and we only have ourselves to blame.
“If you want to build a ship, don't drum up people together to collect wood and don't assign them tasks and work, but rather teach them to long for the endless immensity of the sea” - Antoine de Saint-Exupery
-
I noticed in the thread about what vs2010 add-ons do you use that a lot of people said re-sharper. I looked at the features and I honestly don't see what it brings that's truly useful beyond what you already get in the IDE. To further refine that question about add-on's can people who use Resharper explain what the exact feature of it is that makes it worth while?
“If you want to build a ship, don't drum up people together to collect wood and don't assign them tasks and work, but rather teach them to long for the endless immensity of the sea” - Antoine de Saint-Exupery
Not as useful as multiple monitors if you ask me.
-
I noticed in the thread about what vs2010 add-ons do you use that a lot of people said re-sharper. I looked at the features and I honestly don't see what it brings that's truly useful beyond what you already get in the IDE. To further refine that question about add-on's can people who use Resharper explain what the exact feature of it is that makes it worth while?
“If you want to build a ship, don't drum up people together to collect wood and don't assign them tasks and work, but rather teach them to long for the endless immensity of the sea” - Antoine de Saint-Exupery
I use it primarily to get round the INotifyPropertyChanged code smell issue where you have to specify the name of the property in the event argument (yes, I know there are Expression Trees that can be used to get round this, but they all add overhead). Apart from that, I normally turn it off.
I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be
Forgive your enemies - it messes with their heads
-
Not as useful as multiple monitors if you ask me.
Good one. Though I think John eventually became an adopter of multiple monitors. Or at least accepted some of the benefits. :)
Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]
-
I use it primarily to get round the INotifyPropertyChanged code smell issue where you have to specify the name of the property in the event argument (yes, I know there are Expression Trees that can be used to get round this, but they all add overhead). Apart from that, I normally turn it off.
I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be
Forgive your enemies - it messes with their heads
Pete O'Hanlon wrote:
I use it primarily to get round the INotifyPropertyChanged code smell issue where you have to specify the name of the property in the event argument
What does Resharper do to help with this?
Regards, Nish
My technology blog: voidnish.wordpress.com Code Project Forums : New Posts Monitor This application monitors for new posts in the Code Project forums.
-
I noticed in the thread about what vs2010 add-ons do you use that a lot of people said re-sharper. I looked at the features and I honestly don't see what it brings that's truly useful beyond what you already get in the IDE. To further refine that question about add-on's can people who use Resharper explain what the exact feature of it is that makes it worth while?
“If you want to build a ship, don't drum up people together to collect wood and don't assign them tasks and work, but rather teach them to long for the endless immensity of the sea” - Antoine de Saint-Exupery
There are many things I like about Resharper: * Refactorings - for example ... > being able to convert an auto-property to a property with a backing field because I now need to add behavior in an accessor > being able to convert an anonymous method call into a lambda expression (or back) - which is very useful when teaching coworkers about lambda expressions > there are many others * Static code analysis result indicators in the right margin - where hints/suggestions/warnings/errors are flagged and clickable. * Ctrl+Click - same as F12, but I don't need to move my hand off my trackball. * Letting me know of possible null values (typically from method return values). There are probably other things I like - but I've used R# for so long now that I've forgotten what's R# and what's native to VS. Other things - like identifying naming convention violations - I don't really care about. I know the house rules and don't need to think about them, so don't need a nanny checking up on me.
-
I noticed in the thread about what vs2010 add-ons do you use that a lot of people said re-sharper. I looked at the features and I honestly don't see what it brings that's truly useful beyond what you already get in the IDE. To further refine that question about add-on's can people who use Resharper explain what the exact feature of it is that makes it worth while?
“If you want to build a ship, don't drum up people together to collect wood and don't assign them tasks and work, but rather teach them to long for the endless immensity of the sea” - Antoine de Saint-Exupery
I tend to agree. I've used it before but thought it just got in the way
I know the language. I've read a book. - _Madmatt
-
I tend to agree. I've used it before but thought it just got in the way
I know the language. I've read a book. - _Madmatt
ReSharper has two "disadvantages", it takes a while until you a) configured everything so that resharper does it YOUR way b) you learn to utilize all the neat features in your day to day job (there are just too many). But after that - man I tell you, you just can't understand how you could have lived without it. The quality and readability of our code has improved very much an I am a LOT faster analyzing, refactoring and writing code. You can't just look at the featuresheet. You actually have to try it and you must be ready to actually play with it.
-
I noticed in the thread about what vs2010 add-ons do you use that a lot of people said re-sharper. I looked at the features and I honestly don't see what it brings that's truly useful beyond what you already get in the IDE. To further refine that question about add-on's can people who use Resharper explain what the exact feature of it is that makes it worth while?
“If you want to build a ship, don't drum up people together to collect wood and don't assign them tasks and work, but rather teach them to long for the endless immensity of the sea” - Antoine de Saint-Exupery
Re-Sharper with earlier versions of VS = excellent. Since them many of its features have *ahem* migrated, shall we say, to VS.
-
I noticed in the thread about what vs2010 add-ons do you use that a lot of people said re-sharper. I looked at the features and I honestly don't see what it brings that's truly useful beyond what you already get in the IDE. To further refine that question about add-on's can people who use Resharper explain what the exact feature of it is that makes it worth while?
“If you want to build a ship, don't drum up people together to collect wood and don't assign them tasks and work, but rather teach them to long for the endless immensity of the sea” - Antoine de Saint-Exupery
These add ins were awesome in VC6. Nowadays, they are in a constant arms race with MS, trying to add features that are not in the IDE, and are useful. In my experience, they make the IDE buggy and unstable.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
I noticed in the thread about what vs2010 add-ons do you use that a lot of people said re-sharper. I looked at the features and I honestly don't see what it brings that's truly useful beyond what you already get in the IDE. To further refine that question about add-on's can people who use Resharper explain what the exact feature of it is that makes it worth while?
“If you want to build a ship, don't drum up people together to collect wood and don't assign them tasks and work, but rather teach them to long for the endless immensity of the sea” - Antoine de Saint-Exupery
Some of the most valuable features: - Intelligent code analysis and coding style fixes while you write - Quick fixes for the most commons errors - Easy navigation trough your code - Easy discovering and navigating to usages, inheritance - Great ease of refactoring, e.g. renaming and moving of variables, methods, classes, namespaces... - Suggestions of naming variables, classes - Very customizable to your own guidelines resulting in: - Greatly increasing velocity of development - Higher code quality - Better readability - Better insight in dependencies and structure of your application Writing code without resharper i feel handicapped.
-
ReSharper has two "disadvantages", it takes a while until you a) configured everything so that resharper does it YOUR way b) you learn to utilize all the neat features in your day to day job (there are just too many). But after that - man I tell you, you just can't understand how you could have lived without it. The quality and readability of our code has improved very much an I am a LOT faster analyzing, refactoring and writing code. You can't just look at the featuresheet. You actually have to try it and you must be ready to actually play with it.
bitbonk wrote:
must be ready to actually play with it.
and while I'm playing with it to get it to function unobtrusively I'm loosing productivity.
bitbonk wrote:
The quality and readability of our code has improved very much
I don't need a tool to write quality code that is well structured, extensible and readable.
I know the language. I've read a book. - _Madmatt
-
bitbonk wrote:
must be ready to actually play with it.
and while I'm playing with it to get it to function unobtrusively I'm loosing productivity.
bitbonk wrote:
The quality and readability of our code has improved very much
I don't need a tool to write quality code that is well structured, extensible and readable.
I know the language. I've read a book. - _Madmatt
-
And what basis do you have for that arrogant assumption
I know the language. I've read a book. - _Madmatt
-
And what basis do you have for that arrogant assumption
I know the language. I've read a book. - _Madmatt
What I was trying to say with that is that I too can write quality code using notepad but I wouldn't dare... I'd admit that you might lose some productivity while getting R# up and running and learning how to use it effectively but after that chances are that you will be much more productive. R# lets me focus on the code and gets all the noise out of my way. It brings to the table what the java community has been used to for a much longer time. I don't want to spend time formatting code, ordering members, finding implementations of a interface method, waiting for VS to find a symbol for me, writing boilerplate code like .Equals()/.GetHashcode(), do a lot of refactoring manually, creating NUnit tests etc. etc. Because I don't have to do a lot of things that you do, I can write code faster than you.
modified on Tuesday, October 5, 2010 6:42 PM
-
What I was trying to say with that is that I too can write quality code using notepad but I wouldn't dare... I'd admit that you might lose some productivity while getting R# up and running and learning how to use it effectively but after that chances are that you will be much more productive. R# lets me focus on the code and gets all the noise out of my way. It brings to the table what the java community has been used to for a much longer time. I don't want to spend time formatting code, ordering members, finding implementations of a interface method, waiting for VS to find a symbol for me, writing boilerplate code like .Equals()/.GetHashcode(), do a lot of refactoring manually, creating NUnit tests etc. etc. Because I don't have to do a lot of things that you do, I can write code faster than you.
modified on Tuesday, October 5, 2010 6:42 PM
again you are making an arrogant assumption for which you have no basis. You have no idea how fast I can type or how my IDE is configured, which other tools I may have. I could say since I have a visual studio 2010 I am faster than someone with visual studio 2008 but that would be incorrect.
I know the language. I've read a book. - _Madmatt
-
Good one. Though I think John eventually became an adopter of multiple monitors. Or at least accepted some of the benefits. :)
Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]
Chris Meech wrote:
I think John eventually became an adopter of multiple monitors
That is funnier than Nemanja's quip! :-D What next, John Simmons in a flowery dress? DD becoming a teetotaller?
Cheers, विक्रम (Got my troika of CCCs!) After all is said and done, much is said and little is done.