287 karma · joined March 9, 2011
http://tiye.me
Agreed. Clojure uses lazy sequence by default. After ClojureScript is compiled to js, sometimes it's crazily hard to figure out why the error happened due to the obscure call site in the code.
Clojure does, in some degree.
Normally Webpack loader transforms a single file to another file, like CoffeeScript to JavaScript, mapping one to one. So when it's processing a single file, the loader probably has no knowledge on other files. When it's importing another module, it's Webpack detecting there's a `require` or `import` and revolsing that file.
This solution is not working for ClojureScript. I thought it was thheller told me that ClojureScript has macros, it's not just transforming files one by one, which is not how I was taught to write a loader...
There might be some solution but could be tricky. At least we still need a ClojureScript provided by JVM, which is already a lot more sophistached than a normal Webpack loader.
(I was told WISP has macros like Clojure but transforms with Webpack loader. Didn't investigate into that: https://github.com/girvo/wisp-loader/blob/master/index.js#L1...) .
* https://github.com/Cirru/calcit-editor * https://github.com/Respo/respo
P.S. I also wish Stack Overflow spending more time designing the UI. The blog looks much prettier. I want the site to be prettier and clean too. I would nearly visit the site everyday.
If a new user tries to read the code, there can be confusions. True. There's still quite a gap in in front of new users who want to know ClojureScript better. Any examples you have seen that solves the problem while we still have so many snippets in the first screen?
And we have WeChat group with 200+ people. There are many people interested in Clojure and some of them like me would love to try Clojure(Script) in our own projects.
For me, I'm a web developer. And we all know how web developers hate Internet Explorers. I was a Ubuntu users in my first years learning programming before I got a macbook. There are always reasons for me to hate Windows, even though Windows has majority of the users.
Showing code is most direct way of telling people what ClojureScript is. The official side gave thousands of words but people with less knowledge just don't read. Code just tells, even audience don't get the whole ideas, they are impressed.
Also the page listed quite some projects which are important to the community, which the official one did not offer.
I made this page and collected feedbacks from ClojureVerse and WeChat group mainly. Definitely I need to serve wider audience. Please tell me more details what you feel confused on this page.
Fine... Updated.