- CoffeeScript Application Development
- Ian Young
- 195字
- 2021-04-09 23:58:29
What is CoffeeScript?
CoffeeScript is a programming language. Like most programming languages, it offers control structures to describe the logic of our application, simple data types to store and manipulate information, and functions to encapsulate sections of program execution.
What makes CoffeeScript special is the way it is compiled. When most languages are compiled, they are translated into machine code—low-level instructions to the computer's processor. CoffeeScript is different: when compiled, it is instead translated into JavaScript. We write CoffeeScript code, give it to the CoffeeScript compiler and receive JavaScript code as output. This output can then be passed to anything that consumes JavaScript, such as a browser, or a standalone JavaScript interpreter.
This technique, dubbed transcompilation, allows us to use an alternative language on platforms that only directly support JavaScript. Client-side web development is the most prominent example, since JavaScript is the only supported general-purpose scripting solution on most web browsers. Other platforms such as Node.js and Rhino also offer useful features, but expect JavaScript input. JavaScript is nothing if not prolific, and CoffeeScript allows us to make use of all that existing tooling, but to write our code in a different language.
- eZ Publish 4: Enterprise Web Sites Step/by/Step
- CorelDRAW服裝設計實用教程(第四版)
- 平面設計綜合教程:Photoshop+Illustrator+CorelDRAW +InDesign(微課版)
- Apache Roller 4.0 – Beginner's Guide
- Word 2010實戰技巧精粹
- 音樂日記:Logic Pro X場景x風格編曲實用教程
- 新編AutoCAD 2016從入門到精通
- ASP.NET 3.5 Application Architecture and Design
- Photoshop網店美工實例教程(第2版 全彩微課版)
- Premiere Pro CC 2015中文版基礎與實例教程(第4版)
- 跨境電商:速賣通搜索排名規則解析與SEO技術
- MATLAB R2024a完全自學一本通
- Learning Ext JS
- Service Oriented Architecture with Java
- 中文版SolidWorks 2016完全實戰技術手冊