[ClojureScript] Re: Overview of templates, ways of getting started?

2016-03-24 Thread mars0i
Thanks Thomas.  That all makes sense.  I think that coming from Clojure with 
Leiningen, it's natural to want to start with a simple template.  The 
difference between the templates is cryptic, but maybe that's reasonable: If 
you have to ask, you don't want to use the template.  On the other hand, some 
of the tutorials available on the web start with one of the templates, which no 
doubt makes sense for some folks, but puzzled me in some ways.

Thanks!

On Tuesday, March 22, 2016 at 5:28:55 AM UTC-5, Thomas Heller wrote:
> https://github.com/clojure/clojurescript/wiki/Quick-Start
> 
> should be done at least once, regardless of whether you are using a template 
> or not. It helps clearing up a few things that need to be done in order to 
> get a working setup. Templates make you skip this step but it is important to 
> understand the moving parts.
> 
> Tools like figwheel than add a bunch of (awesome) features on top but all of 
> these require options as well. Most of them are targeted at web development 
> and fail fast when trying to do something else (ie. node). So we end up with 
> a bunch of templates, each trying to do a different thing well and more or 
> less ignoring the rest. A one-size-fits-all template would probably be so 
> large that no one would understand it.
> 
> So my advice would be to not use a template at all. Sure it takes a little 
> more time to get up and running but you will understand what each option does 
> and why it is there. You will get very fast with this once you have done it a 
> couple of times.
> 
> 
> Just my 2 cents,
> Thomas
> 
> On Tuesday, March 22, 2016 at 4:58:47 AM UTC+1, mars0i wrote:
> > Clojure: I learn to use Leiningen or boot (in my case only Leiningen), and 
> > then I learn Clojure.  Did that.  Love it.  Wrote moderately significant 
> > application.  Very comfortable with Clojure.
> > 
> > Clojurescript: Leiningen or boot, but either way it's more complicated.  
> > OK.  Want to get started.  Have gotten started.  Several times.  Made toy 
> > examples.  Cool.  But ... still ... puzzled every time I come back to it.  
> > Is my setup a good one?  Where to start over?  Wiki has a total of twelve 
> > Leiningen or boot templates.  Each with idiosyncrasies about what has to be 
> > installed, how to configure.  (I downloaded this easy template for newbies. 
> >  Oops have to install X.  Which requires Y )
> > 
> > These are not complaints--not at all.  I understand that the way in which 
> > Clojurescript depends on Clojure requires a few more hoops.  I understand 
> > that many people want to use Clojurescript with existing server and 
> > Javascript libraries; it makes sense to have various options for different 
> > kinds of newbies.
> > 
> > I'm just wondering whether it could be useful if someone were willing to 
> > provide a paragraph or a page of overview advice on the wiki about the 
> > options for someone starting out.  "If you want to do this, use that 
> > template, but not if you don't care about blah blah."  etc.  This is 
> > information that can help a newbie go from the Quick Start page to 
> > navigating the Home page of the Wiki.  (Or maybe I just haven't found it 
> > yet.)  Not sure how easy this is to do.  By their nature, advice flow 
> > charts probably always have exceptions or missing information.
> > 
> > Thanks!

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.


[ClojureScript] Re: Overview of templates, ways of getting started?

2016-03-22 Thread Thomas Heller
https://github.com/clojure/clojurescript/wiki/Quick-Start

should be done at least once, regardless of whether you are using a template or 
not. It helps clearing up a few things that need to be done in order to get a 
working setup. Templates make you skip this step but it is important to 
understand the moving parts.

Tools like figwheel than add a bunch of (awesome) features on top but all of 
these require options as well. Most of them are targeted at web development and 
fail fast when trying to do something else (ie. node). So we end up with a 
bunch of templates, each trying to do a different thing well and more or less 
ignoring the rest. A one-size-fits-all template would probably be so large that 
no one would understand it.

So my advice would be to not use a template at all. Sure it takes a little more 
time to get up and running but you will understand what each option does and 
why it is there. You will get very fast with this once you have done it a 
couple of times.


Just my 2 cents,
Thomas

On Tuesday, March 22, 2016 at 4:58:47 AM UTC+1, mars0i wrote:
> Clojure: I learn to use Leiningen or boot (in my case only Leiningen), and 
> then I learn Clojure.  Did that.  Love it.  Wrote moderately significant 
> application.  Very comfortable with Clojure.
> 
> Clojurescript: Leiningen or boot, but either way it's more complicated.  OK.  
> Want to get started.  Have gotten started.  Several times.  Made toy 
> examples.  Cool.  But ... still ... puzzled every time I come back to it.  Is 
> my setup a good one?  Where to start over?  Wiki has a total of twelve 
> Leiningen or boot templates.  Each with idiosyncrasies about what has to be 
> installed, how to configure.  (I downloaded this easy template for newbies.  
> Oops have to install X.  Which requires Y )
> 
> These are not complaints--not at all.  I understand that the way in which 
> Clojurescript depends on Clojure requires a few more hoops.  I understand 
> that many people want to use Clojurescript with existing server and 
> Javascript libraries; it makes sense to have various options for different 
> kinds of newbies.
> 
> I'm just wondering whether it could be useful if someone were willing to 
> provide a paragraph or a page of overview advice on the wiki about the 
> options for someone starting out.  "If you want to do this, use that 
> template, but not if you don't care about blah blah."  etc.  This is 
> information that can help a newbie go from the Quick Start page to navigating 
> the Home page of the Wiki.  (Or maybe I just haven't found it yet.)  Not sure 
> how easy this is to do.  By their nature, advice flow charts probably always 
> have exceptions or missing information.
> 
> Thanks!

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.