Why use Mono?(为什么使用单声道?)
问题描述
在 Java(或任何其他免费"或 Linux 友好的语言/运行时)上使用 Mono 的主要好处是什么?
What are the main benefits of using Mono over Java (or any other "free" or Linux-friendly language/runtime)?
Mono 将始终落后于 .NET 框架的最新发展,您为什么要使用 Mono 而不是另一种传统的开源语言/框架 (Java)?
Mono will always trail behind the latest developments in the .NET framework, why would you want to use Mono over another traditional open-source language/framework (Java)?
就像下面有人提到的那样,我想根本问题是,为什么要在 Linux 平台上使用 .NET?
Like someone mentioned below, I guess the root question is, why would you want to use .NET on the Linux platform?
推荐答案
答案很明显:因为你想在 Linux 上使用 .Net.
The answer is pretty obvious: because you want to use .Net on Linux.
这当然引出了一个问题(我认为这正是您要了解的问题):为什么要在 Linux 上使用 .Net(通过 Java)?
This of course begs the question (which I think is really what you're getting at): why would you want to use .Net on Linux (over Java)?
原因很多:
- 您的服务器与例如 WPF 或 Winforms 应用程序之间的公共代码;
- 使用特定的 .Net 语言,例如 F#;
- Java 中没有的语言特性(闭包、运算符重载、部分类、运行时泛型、索引器、委托、LINQ、var 类型等);
- 您或您团队的技能已经在 C# 中;
- 等等
这篇关于为什么使用单声道?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!