学习Python中的.NET开发人员开发人员、Python、NET

2023-09-03 08:47:33 作者:回眸抹去乄一场空

我一直在做在C#中积极发展了好几年。我主要是构建企业应用程序,并在内部框架上的.NET堆栈。

I have been doing active development in C# for several years now. I primarily build enterprise application and in house frameworks on the .NET stack.

我从来没有需要使用除C#中任何其他主流高级语言对我的任务,因为.NET是我们使用标准的平台。

I've never had the need to use any other mainstream high level languages besides C# for my tasks, since .NET is the standard platform we use.

有一些遗留的Python应用程序,我一直要求支持前进,我没有接触到蟒蛇和动态语言一般(尽管我已经做了JavaScript的一个公平位)。

There are some legacy Python applications that I have been asked to support going forward, I have no exposure to python and dynamic languages in general(although I've done a fair bit of JavaScript).

我希望能得到一些指导/提醒在如何去学习像蟒蛇的静态类型心中的语言帮助。

I was hoping to get some guidance/advise to aid in how to go about learning a language like python for the statically typed mind.

编辑:使用IronPython的是不是一种选择

Using IronPython is not an option!

推荐答案

Foord和缪尔黑德的 IronPython的行动是一个令人惊讶的好书,非常适合教学的Python到.NET乡亲以及教学.NET到Python乡亲。我可能有偏见,因为我是一个技术评审和Foord是朋友,但我有其他案件在过去,其中一个朋友写了一本书,我技术审查 - 并且最终决定书只是错误的,公开这么说的话(这样会失去朋友,但我不能说谎,而不是在Python的关注的是,至少 - !)

Foord and Muirhead's IronPython in Action is an amazingly good book, perfectly suitable for teaching Python to .NET folks as well as teaching .NET to Python folks. I may be biased, as I was a tech reviewer and Foord is a friend, but I've had other cases in the past where a friend wrote a book and I tech reviewed it -- and ended up deciding the book was just wrong and publicly saying so (way to lose friends, but, I just can't tell a lie, not where Python is concerned at least!-)

修改:如果你移动到IronPython的(这可能会支持你的遗留应用程序就好了,顺便说一句)禁止的,也有更好的答案:Mark Pilgrim的的