Ir al contenido principal

Rich Hickey on Clojure


Rick Hickey really impressed me in this potcast when he started talking about the details of Clojure's implementation of “mutable…ish” data and how he made it happen within the problematic that is the Java Virtual Machine in terms of resources, although the JVM has become more and more efficient within the newer versions; but in that sense the creation of a resource-efficient data structures certainly deserves a lot of admiration from me or anyone that nowadays dedicates its career to data-science because it takes a very clever mind to abstract all those models.
Clojure is presented to you as a new paradigm or tool for your career or projects it can sound super difficult or creepy in the way of syntax complexity, but the truth is that once you dominate it, it becomes another “weapon” in the duty of any computologyst or computer systems engineer.
Clojure is an amazing and powerful language because it is the (almost) perfect link between the objects-oriented paradigm and the unknown (at least for me at the beginning) Functional Programming paradigm as it runs mainly using the Java Virtual Machine, which is platform agnostic by design. Which provides the program a set of data structures and utility functions that can be nonexistent or very difficult to implement into a cleaner implementation of Lisp. Hickey mentioned that Vectors and Maps are unique to Clojure, and it certainly is an interest in terms of the relationship between them and vectors and bijective mappings in the mathematical sense. 
One of the most important barriers in Functional programming from an object-oriented perspective is the lack of variables or directly manipulable data. In my opinion once you overcome this barrier, you can take a really good advantage of all the benefits of it; just like the integrity of information through the function-chain as it does make you a better programmer overall.

Comentarios

Entradas más populares de este blog

The Promises of Functional Programming

The article “The promises of functional programming” written by Konrad Hinsen highlights how software development has undergone significant advances as much as advances in technology and computational hardware, in the same way the article describes what is the essence of functional languages, what gives life and the reasons why they are created, in parallel it also explains the advantages of using it. The first feature to highlight functional programming is in the use of functions, since unlike the use of mathematical functions, the variables are not part of the functional programming paradigm which according to the article is the first surprise faced to the ones that are starting to use functional programing. One of the other features for the functional paradigm is the built-in fail safe mode against race conditions which is the lack of counter and side effects, and the possibility to define the language itself. Hand in hand with this change also highlights the difference in th

The Roots of Lisp

In this article we talk about the Lisp operators and how they make up into a powerful API, this paradigm consists of some built in functions that intend to make things easier, however, talking about the power of language as many things that language can become, list processing is very a powerful tool in the structure and syntax of Lisp given by the fact that everything in this paradigm is achieved by the processing of lists. Lisp programs are composed by something called s-expressions, which stands for symbolic expressions which are defined recursively, and consists of either a single “component” which is called “atom” in the strict definition, or it can also be a list, which can correspondingly be some other symbolic expressions. The main idea in this article rounds around the idea of lisp being so innovative for its time that it allowed to visualize the solutions for some problems in a completely different angle, which makes the process much more understandable,    compared to o

Dick Gabriel on Lisp

A.I. has been the pinnacle of computer science ever since the Turing’s machine, and the first premise to supporting that is “with a machine with infinite resources is possible to transcend Turing’s computability” (V. Müller, 2014). According to Dick Gabriel in the podcast Lisp was a programming language that was developed around 60’s and it was mainly oriented to the study and development of artificial intelligence. For the time, the structure of lisp was more common for those that studied Turing’s machine given by the fact that its structure was strongly related since its main data structure was the List which remind me to the tape used for Alan’s machine. The basic use case for the List as a data structure was to use a defined language or dialect that they were meant to process via a macro. Gabriel also said that the Lisp paradigm was “made” the way it was with the unclear intention of making A.I. developers the only ones that can make A.I. research, but that is something that s