面向Javascript的高级OOP与新语法模式
Advanced OOP and new syntax patterns for Javascript
AI总结:
本文提出OBJS这一新transpiler项目,通过在Javascript中实现类型化变量、函数调用管理及新运算符与语法模式,并采用原生C++标准引入面向对象编程范式,以增强语言能力并兼容原有语法。
摘要:
我们提出了OBJS,一个新的transpiler项目,其在Javascript中实现了类型化变量和函数调用管理,以及可能使编码更敏捷和通用的几种新运算符和语法模式。目标是增强该语言。基于此观点,该transpiler旨在将面向对象编程(OOP)范式实现到Javascript中。作者认为,这可能是该语言在适应原始语法方面的最佳演进,即通过采用原生C++标准,从而在新旧模式之间不会产生混杂,使来自类似语言的开发者受益。
英文摘要:
We present OBJS, a new transpiler project featuring the implementation of typified variables and functions call management in Javascript, as well as several new operators and syntax patterns that could make coding more agile and versatile. The goal is to empower this language. According to this point of view, this transpiler aims at implementing Object Oriented Programming paradigms into Javascript. The author opines that this would be likely the best evolution of this language in ways that should be proper to the original syntax, that is, by adopting native C++standards, so that there would be no promiscuity between old and new patterns, benefiting those who come from similar languages.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。