是F#IronPython的来/ IronRuby的为C#是VB.NET? [英] is F# to IronPython/IronRuby as C# is to VB.NET?
问题描述
我刚刚听了的播客克里斯·史密斯谈论中,他谈到了F#是一个怎么的语言,它允许你以不同的方式办法问题比C#/ VB.NET,即而不是推位F#围绕你链在一起的数据,你除了用你选择的语言(C#或VB.NET),以解决更有效的方式一定问题转变,那如何F#将成为像XML的东西
I just listened to podcast of Chris Smith talking about F# in which he talks about how F# is a language which allows you to approach problems in a different way than in C#/VB.NET, i.e. instead of "pushing bits around" you "chain together data transformations", and that how F# will "become like XML", something that you use in addition to your language of choice (C# or VB.NET) in order to solve certain problems in a more efficient way.
这让我想着有关.NET语言的关系,这里就是我理解他们:
This got me to thinking about the relationship of the .NET languages, here's how I understand them:
- C#和VB.NET都是语法,但没有实质性的不同,即C#程序员为了不学习VB.NET来的方式问题以新的方式
- 不过,C#或VB.NET程序员学习F#以在功能的方式方法的编程问题的 李>
- C# and VB.NET are syntactically but not substantially different, i.e. a C# programmer would not learn VB.NET in order to "approach problems in a new way"
- however, a C# or VB.NET programmer would learn F# in order to "approach programming problems in a functional way"
但是,我们的 IronPython的和的IronRuby ?克里斯提到,F#学到了很多Ruby和Python,所以我会认为F#具有的IronRuby / IronPython的一个类似的关系和C#有VB.NET。然而,有一点周围的Googling告诉我,的IronRuby和IronPython都是建立在DLR但F#是不是
But what about IronPython and IronRuby? Chris mentioned that "F# learned a lot from Ruby and Python" so I would think that F# has a similar relationship to IronRuby/IronPython and C# has to VB.NET. However, a little googling around tells me that IronRuby and IronPython are both built on the DLR but F# is not.
如何都F#,IronRuby和IronPython的之间的关系是最好的理解?
推荐答案
F#和IronPython / IronRuby的是光年除了一种语言的视角。 F#是一个功能齐全,高度类型化的编译语言。 IronRuby的/ IronPython的是动态类型,解释型语言。
F# and IronPython/IronRuby are light years apart from a language perspective. F# is a functional, highly typed compiled language. IronRuby/IronPython are dynamically typed, interpreted languages.
我相信IronPython的不支持额外编制,但我不是100%肯定,少约红宝石。
I believe IronPython does additionally support compilation but I'm not 100% sure, and less about ruby.
VB.Net和C#之间的关系是非常接近。
The relationship between VB.Net and C# is much closer.
这篇关于是F#IronPython的来/ IronRuby的为C#是VB.NET?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!