top of page
Search
Writer's pictureMiss Tech Geek

Clojure - A New Kind of Language

Clojure is a dynamic, general-purpose programming language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multi-threaded programming.



Does this make sense to you? Let me break it down.


If you're familiar with coding, you'll know that scripting languages are instructions that are written for a run time environment. They do not require the compilation step that we need when using programming languages such as Java, and are rather interpreted. They're used to integrate and communicate with programming languages.


Some examples of Scripting Languages include: bash, Node.js, Python, Perl and Ruby


Multi-threading is a type of execution model that allows multiple threads to exist within a process such that they execute independently, but share their process resources.


With me so far? Good.


Combining both of these two features together makes Clojure a completely Dynamic language.




Every feature supported by Clojure is supported at runtime. Clojure provides easy access to the Java frameworks. Clojure is also a dialect of Lisp, and shares with Lisp the code-as-data philosophy and a powerful macro system.


With Clojure, you compile down to the Java Byte Code when you run your application or library. You get the benefits and performance optimizations of a compiled language, but can treat it like an interpreted language.


I personally prefer Python when coding, but which language do you like coding with?

357 views0 comments

Comments


bottom of page