官术网_书友最值得收藏!

Getting to know Clojure

Before getting started with Clojure, you should know some of its features and what it shares with Java.

Clojure is a programming language that inherits a lot of characteristics from Lisp. You might think of Lisp as that weird programming language with all the parentheses. You need to keep in mind that Clojure chooses to embrace functional programming. This makes it very different from current mainstream programming languages. You will get to know about immutable data structures and how to write programs without changing variable values.

You will also find that Clojure is a dynamic programming language, which makes it a little easier and faster to write programs than using statically typed languages. There is also the concept of using a REPL, a tool that allows you to connect to a program running environment and change code dynamically. It is a very powerful tool.

At last, you will find out that you can convert Clojure to anything you like. You can create or use a statically typed system and bend the language to become what you like. A good example of this is the core.typed library, which allows you to specify the type information without adding support to the compiler.

主站蜘蛛池模板: 卓尼县| 崇义县| 文化| 德化县| 许昌市| 沧源| 金昌市| 天水市| 丹寨县| 星子县| 朔州市| 旬邑县| 依安县| 加查县| 广宁县| 新平| 微山县| 类乌齐县| 石台县| 志丹县| 扶余县| 六盘水市| 宁陕县| 静安区| 延津县| 凯里市| 东源县| 海安县| 齐齐哈尔市| 阿拉善右旗| 五莲县| 北宁市| 丹阳市| 鞍山市| 阿巴嘎旗| 临泉县| 额尔古纳市| 福州市| 兴安盟| 两当县| 麦盖提县|