学习.NET / OOP最佳实践的最佳方法是什么? [英] Best way to learn .NET/OOP best practices?

查看:213
本文介绍了学习.NET / OOP最佳实践的最佳方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是比较新的.NET编程(OOP和一般),我想确保我的设计应用程序时,我不开发坏初学者习惯。

I'm relatively new to .NET programming (and OOP in general) and I want to make sure I'm not developing bad beginner habits when designing my applications.

如果你雇佣了新的.NET开发人员,只好让他到相对较快的速度,同时也希望确保他采取的最佳做法(例如,单一职责原则,单元测试,关注点分离),会是什么是你推荐的学习路径?

If you were hiring a new .NET developer and had to get him up to speed relatively quickly, but also wanted to make sure he adopts best practices (e.g., single responsibility principle, unit testing, separation of concerns), what would be your recommended learning path?

我一直在听的多态播客近来,虽然听的最佳做法的讨论是有益的,我发现缺少截屏和code例子旨在提供一个介绍这些最佳实践的。

I've been listening to the Polymorphic Podcast lately and, while listening to discussion of best practices is helpful, I'm finding a lack of screencasts and code examples aimed at providing an introduction to these best practices.

推荐答案

有两个独立的,但相关的,目标:

There are two separate, though related, goals:

  • 要成为一个良好的面向对象的开发

  • 要成为一个很好的.NET开发人员

作为优秀的后者将要求至少是好于前者,但都需要艰苦的工作。不要被锁定到微软的心态,甚至是.NET一 - 你需要在充分了解在广泛的领域

Being excellent at the latter will require being at least good at the former, but both will require hard work. Don't get locked into the Microsoft mindset, or even a .NET one - you need to develop familiarity across a wide range of the field.

如果您可以灵活地这样做,发现自己工作或一个团队里有人经历是愿意做一些指导。

If you have the flexibility to do so, find yourself a job or a team where someone experienced is willing to do some mentoring.

其次,要认识到你需要做大量的阅读,无论是在线和离线。如果你的阅读速度是平均或低于(约250字每分钟或更少),那么你应该考虑参加培训班阅读技巧。我做了一个疗程使用写集团(新西兰)和三倍我的阅读速度。

Next, recognise that you'll need to do a lot of reading, both online and off. If your reading speed is average or lower (around 250 words per minute or less), then you should consider attending a training course on reading techniques. I've done a course with Write Group (New Zealand) and trebled my reading speed.

在图书方面,对象从Microsoft思考 preSS将是一个很好的起点;我会按照与编程.NET组件(Juval洛伊)和的 Smalltalk的最佳实践模式(肯特·贝克),随后的的程序员修炼之(亨特和托马斯)。

In terms of books, Object Thinking from the Microsoft Press would be a good starting point; I'd follow that with Programming .NET Components (Juval Lowy) and Smalltalk Best Practice patterns (Kent Beck), then The Pragmatic Programmer (Hunt and Thomas).

在此之后,围绕拖网(计算器上或其他地方),并找到推荐的书籍和博客列表。继续阅读 - 尝试在一个新的课题读一本新书,至少每两个月,如果不包月。

After that, trawl around (on StackOverflow or elsewhere) and find lists of recommended books and blogs. Keep reading - try to read a new book on a new topic at least every two months, if not monthly.

这篇关于学习.NET / OOP最佳实践的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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