Fork me on GitHub

are there any libraries for data visualization in cljs? i was thinking of making site that takes input from user plays with that data on backend and returns something like % to front end so cljs can fill column cart for that % maybe even have radial chart (radial progress or something) are there any tutorials, blogs or books about this?


Mostly it's hooking into js libs. Check out cljsjs:


@kauko the newspaper library does scraping of news articles, makes it easy to extracts things like the article's title, author, date, excerpt, etc.


are there builtins to decompose namespaced keywords besides namespace?


what i’d really like is, given, functions to get me :foo and :baz


they’re not hard to write, necessarily, but i’d greatly like to avoid the overhead of casting keywords to strings and back


@swizzard There probably isn't. Namespaces are not really hierarchical. The dot notation is just a convenience.


Hi, i’m an iOS developer and i want to learn a new programming language this year, after reading some articles i thought i should learn Lisp because of the unique concepts it provides. I would like to know how different is Clojure from Lisp and if it will offer the same “unique concepts”? Thanks


@lucianboboc Lisp is a whole family of languages. Clojure is a Lisp.


@seancorfield i know that, but my questions is if it has some features missing from the Common Lisp for example


I'm really not sure how to answer your question. They're different languages in the Lisp family.


There's some commonality between them, just as there is between all of the Lisp languages.


But there are differences too, even in syntax...


What "unique concepts" attract you to Lisp? Then I'll know whether Clojure has those or not.


Code as data? Macros? Yes, Clojure has those.


But Clojure is a functional programming language, based on immutable data structures and a set of abstractions (sequences etc).


Does that help at all @lucianboboc ?


@seancorfield i think code as data and macros yes. i don’t care about syntax


what i care is to improve as a developer and learn new concepts and i understood lisp can help


Yes, many people say learning a Lisp will make you a better developer. I think immutable, persistent data structures and functional programming are the main things about Clojure that will make you a better developer.


In real world Clojure, macros aren't used all that much (because they don't compose like functions do).


Learning a new language every year or two is a good goal. Have you read the two "Seven (More) Languages in Seven Weeks" books? They're a great way to get a sense of some very different languages.


@lucianboboc: one thing I think a more traditional lisp may give you that I haven't picked up in Clojure as much is a good handle on recursion - it's not necessary as often in Clojure. Clojure is awesome though, and you should totally learn it :) Completely changed the way I think about programming.