Автор: Karthikeyan A.K.
Издательство: Independently published
Год: 2023
Страниц: 172
Язык: английский
Формат: pdf (true)
Размер: 11.3 MB
Many hackers swear by LISP, and just like any other programmer coming from OOPS background I was skeptical about functional programming. When I started learning it, it wasn't straight forward (for an OOP developer), but I persisted and when I reached what's called REPL driven development I was blown away. Clojure is a dialect of LISP, and it was smartly designed to be hosted and not compiled, which means that when you learn it, you can target multiple platforms like Java runtime, Common Language Runtime, jаvascript and Dart platforms, hence your job potential will be huge. Clojure and all LISP based languages, surprisingly has only one syntax, which makes it simple and unimaginably powerful, and hence makes it easier to learn compared to other languages, and hence I feel it could be great first programming language for many who had never coded before.
Clojure is a hosted language, which means its author does not intend it to be compiled to machine code that directly runs on a processor or an operating system. Clojure was initially intended to run on JRE (Java Runtime Environment), and so it gets converted to byte code. Since Clojure is hosted, people found ways to get Clojure to get compiled to jаvascript, hence was born Clojure Script. Clojure can be compiled to Common Language Runtime, the same thing what Dot Net family of languages gets compiled to. Clojure also gets compiled to Dart. So by knowing Clojure one could target these platforms.
One should note that Clojure never promised WORA (write once run anywhere) like Java does, instead you need to change your code when you write Clojure code targeting different platforms. What you get is uniform Clojure Syntax everywhere. Being a web developer I can write backend in any beautiful language I like, but for the front end I am forced to used jаvascript. But in Clojure I can write both front and back end with Clojure without much cognitive load that comes along with language switching.
Join me in this wonderful journey to learn a dialect of a language which refuses to die and rises like phoenix.
Скачать Clojure (2023)