Live data from Hacker News

ClojureScript beginners' home page

clojure-script.org

1–10 of 82 posts

Re: ClojureScript beginners' home page

#2
I find the random sample snippet of code at the top of the page quite confusing. The first time it loaded it was about threading macros and the second time was reagent, both of which are things I wouldn’t expect a beginner to be familiar with. Perhaps some context would be nice. Even better, how about a snippet of code in cljs showing how people can do something they’re familiar with in JS?

Re: ClojureScript beginners' home page

#4

I find the random sample snippet of code at the top of the page quite confusing. The first time it loaded it was about threading macros and the second time was reagent, both of which are things I wouldn’t expect a beginner to be familiar with. Perhaps some context would be nice. Even better, how about a snippet of code in cljs showing how people can do something they’re familiar with in JS?

Agreed. Consider also that for someone who does not know anything about Clojure, it looks alien enough.

Re: ClojureScript beginners' home page

#5

I find the random sample snippet of code at the top of the page quite confusing. The first time it loaded it was about threading macros and the second time was reagent, both of which are things I wouldn’t expect a beginner to be familiar with. Perhaps some context would be nice. Even better, how about a snippet of code in cljs showing how people can do something they’re familiar with in JS?

I put some random snippet gathered from the community about all the features ClojureScript supports. This page is not targeting JavaScript developers alone. It's visited by many Clojure and ClojureScript developers. And I want to exhibit more on what ClojureScript is capable and the beauty of the code.

I was trying to ask what are the best snippet we should display. But it turned out we didn't reach a conclusion, not even close. https://clojureverse.org/t/which-piece-of-code-do-you-think-...

BTW what's your background? What do you refer to by "something they are familiar with in JS"?

Re: ClojureScript beginners' home page

#6
post #4

I find the random sample snippet of code at the top of the page quite confusing. The first time it loaded it was about threading macros and the second time was reagent, both of which are things I wouldn’t expect a beginner to be familiar with. Perhaps some context would be nice. Even better, how about a snippet of code in cljs showing how people can do something they’re familiar with in JS?

Agreed. Consider also that for someone who does not know anything about Clojure, it looks alien enough.

Does the first paragraph the page help? I was expecting this paragraph telling people what ClojureScript is.

> Clojure is a dialect of the Lisp programming language. Clojure is a general-purpose programming language with an emphasis on functional programming. ClojureScript is a compiler for Clojure that targets JavaScript.

Re: ClojureScript beginners' home page

#7
post #4

Earlier quoted context omitted.

Agreed. Consider also that for someone who does not know anything about Clojure, it looks alien enough.

Does the first paragraph the page help? I was expecting this paragraph telling people what ClojureScript is. > Clojure is a dialect of the Lisp programming language. Clojure is a general-purpose programming language with an emphasis on functional programming. ClojureScript is a compiler for Clojure that targets JavaScript.

Yes, sure, but if the snippet looks complex people will think "oh - that's too complex for me!" and give up.

PS. why don't you post it on Clojureverse as well? :-)

Re: ClojureScript beginners' home page

#8
post #7

Earlier quoted context omitted.

Does the first paragraph the page help? I was expecting this paragraph telling people what ClojureScript is. > Clojure is a dialect of the Lisp programming language. Clojure is a general-purpose programming language with an emphasis on functional programming. ClojureScript is a compiler for Clojure that targets JavaScript.

Yes, sure, but if the snippet looks complex people will think "oh - that's too complex for me!" and give up. PS. why don't you post it on Clojureverse as well? :-)

I posted it on Reddit/Clojure before. People on ClojureVerse read Reddit a lot, I think.

Re: ClojureScript beginners' home page

#10
I could not get leiningen to install under Win10 a week ago, was quite a sobering experience. Some site that was linked to download from got a 404, then I got directed towards some bat script, which complained about HTTPS certification issues (lol)?

Took less than 5 minutes under a linux server though, so thats something, I guess. But still, its kinda mind-blowing how much Win users are ignored.

Post reply on HN