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

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.

主站蜘蛛池模板: 杂多县| 宿迁市| 广西| 双鸭山市| 沈丘县| 堆龙德庆县| 文昌市| 德江县| 定安县| 长葛市| 梁山县| 岱山县| 淮北市| 长兴县| 襄垣县| 凌海市| 育儿| 通城县| 登封市| 涡阳县| 朝阳区| 曲麻莱县| 桂平市| 七台河市| 兴安县| 抚顺县| 石渠县| 交口县| 合山市| 洪洞县| 宾川县| 广水市| 茂名市| 莱芜市| 南雄市| 奈曼旗| 克东县| 施秉县| 乌拉特中旗| 晋宁县| 利川市|