String (Clojure) and Lists — Day 9

We finished covering Strings in Clojure — the namespace that we call to use them — as well as going over lists. Most of the capabilities with Clojure and Strings are the same as Java/JavaScript, just formatted slightly differently. We did go over namespaces and how those are what is referenced when programs are run, as well as going over the way to call Java from Clojure which was something I was definitely wondering about.

The lists were basically arrays, the easiest one we went over was JavaScript, straight forward and easy to manage. Then we went over it in Java and I can definitely see why those are being deprecated and replaced with ArrayLists.

Clojure handles lists all the time as everything that you code in it is essentially a list, however they do have vectors which are a subcategory that contains values similar to arrays in Java and JavaScript.

Honestly these concepts are pretty simple, it’ll just take some time for me to learn how exactly to put them into practice and work well with them.

440