是否有有过作为一个PHP.NET可能性? [英] Is there a possibility of there ever being a PHP.NET?

查看:222
本文介绍了是否有有过作为一个PHP.NET可能性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

抱歉,如果这是一个愚蠢的和/或愚蠢的问题,但...会不会有永远,或将它甚至有可能有一个PHP.NET?还是有我的坚持错误的结束?

Sorry if this is a silly and/or stupid question but... Will there ever be, or would it even be possible to have a PHP.NET? Or have I got the wrong end of the stick?

在我看来,这对.NET的要点之一是,你可以写你的code一堆的.NET语言之一,并把它编译成CLR。难道这发生在PHP中,或者是有一些关于PHP,使这个不可能的?还是有更多的政治原因?或者是它只是一个弱智的想法?

It seemed to me that one of the main points of .NET was that you could write your code in one of a bunch of the .NET languages and have it compile into CLR. Could this happen with PHP, or is there something about PHP that makes this impossible? Or is there more political reasons? Or is it just a retarded idea?

推荐答案

顺便说一句:

我不相信的.Net支持PHP将是一个伟大的想法。

I don't believe .Net support for PHP would be a great idea.

我用我的生命中的每一天PHP。这不是因为我喜欢的语言(它是不匹配的功能,用很少的支持面向对象的集合),而是因为它是适合这份工作的最佳工具。

I use PHP every day of my life. It's not because I like the language (it's a collection of mismatched functions with very little OO support), but rather because it's the best tool for the job.

PHP有一个轻量级的感觉,我们可以做一些简单的线条几乎所有的东西。它的字符串处理毫不费力,而且支持是无处不在。数组处理是伟大的,太。

PHP has a lightweight feel and one can do almost anything in a few easy lines. It's string handling is effortless, and support is ubiquitous. Array handling is great, too.

我觉得如果PHP加入了.NET CLR我不会受到诱惑,切换到使用它。如果一个人想工作与.net人会做的更好用一个更好的,更结构化的语言,如C#。

I feel that if PHP joined the .Net CLR I would not be tempted to switch over to use it. If one wanted to work with .Net one would do better to use a nicer, better structured language, such as C#.

这篇关于是否有有过作为一个PHP.NET可能性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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