4 ms·
I'm still a Clojure newbie, but one thing I've discovered about programming as I study Clojure is that a lot of programming involves the processing lists. Take
by va_coder 17y ago
I'm still a Clojure newbie, but one thing I've discovered about programming as I study Clojure is that a lot of programming involves the processing lists.
Take Web dev: you have a list of parameters that a user sends to the server, you perform business logic on that list, you send the list of data to the database, and you return a list of data to the user.
Any technology that makes performing those tasks easier is a good thing.
- icey 17y agoWell, "LISP" is short for "LISt Processing" after all :D
- cema 17y agoIndeed. And I think that Clojure's (I mean, Rich's) simple approach of abstracting lists, vectors, hashes etc as sequences is even more to the point, more powerful. (Of course, it is not necessarily his invention: something like this can be seen in older languages, like Perl, Python, etc.)
- frognibble 17y agoClojure programmers often work with logical lists called sequences. Arrays, maps, lists, sets, Java collections and many other types provide access to their elements as sequences.