Haxe值得学习吗? [英] Is Haxe worth learning?

查看:98
本文介绍了Haxe值得学习吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于在那里使用 Haxe 的人来说,它对您有用吗?阅读该网站看起来很有希望.它提供了显着的可移植性吗?

For people out there using Haxe, what makes it useful for you? Reading the website it looks very promising. Does it provide significant portability?

什么是现实世界,也许处于赞赏的优势之下?

What are some real world and perhaps under appreciated advantages?

陷阱或陷阱是什么?

推荐答案

Haxe值得学习吗?

Is Haxe worth learning?

简短的答案是:绝对!

对于使用Haxe的人们来说,它对您有用吗?

For people out there using Haxe, what makes it useful for you?

如果您是Web开发人员,则知道您不能坚持使用单一技术太长时间.迟早,您将不得不应对环境或目标的变化(您为.NET开发,但重要的客户需要PHP,或者该小部件应该在Flash中而不是Javascript中),这是最好的情况.在最坏的情况下,您将不得不在同一工作日内不断进行切换,通常需要多次切换.

If you're a web developer, you know you can't stick with a single technology for too long. Sooner or later you'll have to deal with changes in the environment or targets (you develop for .NET but an important customer requires PHP, or maybe that widget should be in Flash not Javascript), and this is the best case scenario. In the worst case you'll have to switch constantly, often multiple times in the same business day.

这些开关可能会浪费您很多时间,因为您需要太多次更改编程范例,并且可能因为在为特定目标编写库时会有很多重叠. Haxe尝试通过仅使用一种源语言(Haxe语言)和许多输出(通过Haxe编译器)来减轻过渡的痛苦.无论您的背景如何,该语言都非常友好且易于学习.

Those switches can waste a lot of your time because you need to change your programming paradigm too many times and possibly because you will have a lot of overlaps in coding your libraries for specific targets. Haxe tries to ease the pain of transition by having just one source language (the Haxe language) and many outputs (through the Haxe compiler). The language is very friendly and quite easy to learn, no matter your background.

阅读网站看起来很有希望.它提供了显着的可移植性吗?

Reading the website it looks very promising. Does it provide significant portability?

无论部署到什么平台,语言都是相同的.因此,您可以用与JS,Flash,C ++等相同的方式定义类/接口/枚举/类型定义.如果您定义的那些类型不依赖于特定的平台API,则可以毫不费力地在各个平台之间重用它们. .所有平台还共享通用API,例如XML访问,HTTP连接和反射.具有共同点的平台(例如Neko和PHP)共享相同的API,用于文件访问或网络服务器开发.

The language is the same no matter what platform you deploy to. So you define classes/interfaces/enums/typedefs in the same way for JS, Flash, C++, etc. If those types you define do not depend on a specific platform API, they can be reused from platform to platform with no effort at all. All the platforms also share common APIs like XML access, HTTP connections and reflection. Platforms that have things in common (i.e. Neko and PHP) share the same API for things like file access or web-server development.

什么是现实世界,也许处于赞赏的优势之下?

What are some real world and perhaps under appreciated advantages?

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