Resharper是否适合初学者 [英] Is Resharper good for a beginner

查看:191
本文介绍了Resharper是否适合初学者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。

我是编程新手。大约18个月前我开始学习C#。

两天前我下载了Resharper并喜欢它。它建议做什么或改变等等。

我的问题是:

这对初学者有好处吗?我的意思是,如果它为你排序很多东西,比如在需要的地方自动更改签名或者生成带有名称或更重要的构造函数,那么就改变了写东西的方式。



例如:

我的版本 - BitmapImage image = new BitmapImage()

image = new BitmapImage(path etc.)



Resharper版本 - (考虑更好)

var = new BitampImage(路径itc。)



如你所知建议删除一些东西,因为不需要

根据Resharper或将方法更改为静态。



我喜欢这么多,但初学者使用如此简单的方式对b
编码有好处吗?它是否会让我少思考,因为这样可以少学习?

感谢你提前得到答案:)

解决方案

这完全取决于你自己的品味和工作习惯。如果你对已经存在的花里胡哨有点不知所措,我建议坚持下去。我个人认为没有必要在Resharper中尽可能避免任何附加组件。也许你可能想采取一些中间路线。在开始大发展或仅仅是一些真正的项目之前,对所有工具绝对有信心非常重要。锐化你的工具并在以后使用它们而不需要太多关注它们,专注于你的工作是非常重要的。不适当地做这种状态是最常见的初学者错误之一。当你已经掌握了这种经验时,你可以先获得这种信心然后尝试使用Resharper。



一个问题是Resharper是商业的而不是开源的。我一直避免这样的事情,但你可能有不同的看法。然后你可以使用30天的试用期。在购买之前一定要尝试一切。



将这些考虑因素仅作为思考的食物。你的工作习惯和心理可能会提出一种截然不同的方式。所有人都非常不同,并没有多少人真正意识到有多么不同,这就是为什么有些人试图说服别人跟随他们成功的经历,但我会更加小心。这就是为什么我试图解释/激励我的建议,所以你可以用你的批判性思维来检查我的注意事项。



然而,我害怕如果你已经犯了一个大错误。 工具不应该提供简化的编码方式。这种简化的方法通常会提供快捷方式,可能导致对您正在做的事情缺乏了解。甚至像标准Visual Studio设计者这样的工具也会对不能使用批判性思维或懒惰的开发人员产生强烈的负面影响。你永远不应该避免艰难的方式,以避免将来严重的硬度,这甚至可能导致缺乏最基本的专业性。 因此,在所有情况下,你需要从基础开始倾斜所有内容。好工具的作用是不同的:它们不提供简化的编码方式,但是,相反,提高了性能。你能看到区别么? 性能提升几乎与少学习相反:你学到更多,但获得更好的工作方便性,性能和质量。你需要寻求方法来学习更多,而不是更少。与此同时,您需要节省学习 ad-hoc 的时间,过于具体的事情(特定工具就是其中之一),以便专注于基础知识。请不要试图抓住我的争议:你真的需要学习完美的工具,但节省时间学习太多无关紧要和过于具体的细节。互相讲述需要相当多的经验。



考虑到所有这些,你决定。



< DD> -SA

Hi, guys.
I am new to programming. I started to learn C# about 18 months ago.
Two days ago I downloaded "Resharper" and liked it. It suggests what to do or change ect.
My question is:
Is it good for a beginner? I mean, If it sorts a lot of things for You like automatically changes signatures where needed or generates constructor with names or what's more important, changes the way how something is written.

For example:
My version - BitmapImage image= new BitmapImage()
image=new BitmapImage(path etc.)

Resharper version- (considered better)
var=new BitampImage(path itc.)

As You know sometimes suggests to delete something because is not needed
according to "Resharper" or change a method to static.

I like all that a lot, but is it good for a beginner to use so simplified way of
coding? Does it make me think less and because of this learn less?
Thanks for your answers in advance:)

解决方案

It totally depends on your own taste and working habits. If you are a bit overwhelmed with already existing bells and whistles, I would advise to hold on. I personally feel no need in Resharper and avoid any add-ons whenever possible. Perhaps you may want to take some intermediate route. It's important to be absolutely confident will all your tools before you start "big development" or just some real projects. It is really important to sharpen your tools and use them later without paying to much attention for them, focusing on you work. Not doing this state appropriately is one of the most common beginner's mistakes. You can gain this confidence first and then try out Resharper, when you are already armed with this experience.

One problem is that Resharper is commercial and not open source. I avoid such things by all means, but you might have different views. Then you can use available 30-day trial. Always try everything before you buy.

Consider these considerations only as a food for thought. Your working habits and psychology may suggest a very different way. All people are very different, and not many really realize how much different, that's why some people try to convince others following their successful experience, but I would be more careful with that. That's why I try to explain/motivate my suggestions, so you can check my considerations up using your critical thinking.

However, I'm afraid if you already making a big mistake. Tools should not offer "simplified way of coding". Such simplified ways often provide shortcuts which can lead to lack of understanding what you are doing. Even the tools like standard Visual Studio designers have strong adverse effect on developers who cannot use their critical thinking or just lazy. You should never avoid "hard ways", in order to avoid serious hardness in future, which can even lead to lack of mere most basic professionalism. So, you need to lean everything starting with the fundamental in all cases. The role of good tools is different: they offer not "simplified way of coding", but, instead, increased performance. Can you see the difference? Increased performance is nearly opposite to "learning less": you learn more, but gain better convenience, performance and quality of your work. You need to seek ways to learn more, not less. At the same time, you need to save time on learning ad-hoc, too concrete things (particular tools is one of such things), in order to focus on fundamentals. Please don't try to catch me of controversy: you really need to learn your tools to perfection, but save time to learning too many insignificant and too concrete detail. Telling one from another needs considerable experience.

With all that in mind, you decide.

—SA


这篇关于Resharper是否适合初学者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆