Skip to main content

About Clojure

In this podcast we listen to Rich Hickey, the creator of Clojure, talking about which were the main characteristics about it. Clojure is an important tool and programming language because it is a dynamic program language for JVM. This advantage allows Clojure to be adaptable for any host platform, concurrency, functional and based on Lisp. Although Lisp is a simple and elegant programming language, it is not known due to that it is studied individually, contrary to what we would think about this language. 

Even with these particularities, Clojure keeps being a great tool to program in. For example, we can create programs that  are writing programs, we can handle a high level of function abstraction and we can benefit from its access to all Java libraries. It could be complicate coding everything with list but in Clojure, we also have data structures as vectors and maps. Clojure looks like a simple program in contrast to Java and its syntax, although the abstraction of Clojure could be higher than Java in some programs. 

On the other hand, Clojure has some main differences over Lisp. First of all, in a programming language like Lisp internal data structures are mutable while in Clojure this does not happen, in the core all data structures are inmutable. Secondly, the Clojure libraries are constructed in abstraction and are not concrete in data structures, and Lisp is older than Clojure. However, the principal distinction about Clojure over other programming languages is its concurrency. Clojure deals with our frustration with the state and other problems with mutable objects, therefore the values are not changed. Besides, it handles persistent inmutable data structures, which are a newer version of data structures with a better performance. 

Finally, in the last minutes we listen about the technical definition of Clojure. Though Clojure deals with inmutable object, it can manage databases with its difference between the value and its notion of the identity. In other words, all values work like an inmutable structure. Clojure has three forms of work with references: atoms that are synchronous and atomic, agents that are asynchronous and atomic too and, the most complex reference, that can be asynchronous and coordinated. 

Concluding, all these functionalities allow us to have a good reason to explore Clojure. It could be complicated in the beginning but after some hours of practice we can get more skilled working with Clojure and its tools. 

Reference 

Markus. (Host). (2010, March 22). Episode 158: Rich Hickey on Clojure. [Audio podcast]. Retrieved from http://www.se-radio.net/2010/03/episode-158-rich-hickey-on-clojure/

Comments

Popular posts from this blog

Language as the “Ultimate Weapon”

The novel of 1984 is one of my favorite book because it reflect a future that can be possible in this time. In the book we read so many reference about the reality, language, war, peace, ignorance and other importante topics that currently they continue causing important repercussion in our days. Besides, George Orwell mention us what type of weapons use the government to stop the opposition and how they control the reality through the telescreen and their message to all society.  In Language as the "Ultimate Weapon" tell us an analysis about the novel of George Orwell: 1984. Without a doubt the language take an importante role in a fiction 1984, however nowadays too. It possible that the governments don't try to control our language or try to create a new weapon through of the language, but it could be kindred to the programming languages. In this blog I don't make an analysis or an opinion about the novel 1984, but I want to make a reflection about programmin...

Roots of Lisp

Lisp is part of the construction of Clojure and the programming language that it took as a reference scheme. So it is important to know which are the roots of Lisp because we will know how and why the instruction were build and for what propose.  Firstly, we will talk about the seven primitive operators. These operators work to modify lists or to convert symbols in lists. They are called primitive for their easy way to convert symbols or lists and to create new result which are more suitable. However, this not the only advantages of a functional programming language as Lisp. We can create functions that after we could detonate for specific aplicables. It is unbelievable how Lisp works, for example, creating new functions with singular seven primitive operators could be a complex activity but in some cases the only limitation is our creativity of creating new functions.  The eval functions is another great examples of how we can create a complex function with only ...