On 10/6/16, 2:05 PM, "'Xman' via Clojure" <clojure@googlegroups.com> wrote:

> I would like to know if Clojure is a great option to make websites ?

 

Yes and no. There are a lot of folks here building web _applications_ with 
Clojure and according to the annual informal “State of Clojure” survey, web 
development is the more common use for Clojure. See my comments on “frameworks” 
below…

 

> I found out that there are new features on the web that Clojure is

> better for, but I don't use those features in the present. 

 

Well, immutability, the abstractions, and the ease with which you can write 
code that can safely use multiple threads are applicable to even fairly basic 
web applications. I think you’d find that if you were using Clojure, you would 
just naturally use those features.

 

> I want to learn the language and "frameworks" (or how to create the 
> architecture)

 

…many technologies used for web sites leverage frameworks. Clojure’s approach 
is generally more focused on composing libraries to construct a solution. One 
of the things that a lot of folks coming to Clojure find confusing or strange 
is that there really are no actively maintained “frameworks” in the sense of 
Django or Rails or Drupal etc.

 

There’s also really no “standard” architecture for a Clojure web application. 
At its core, it’s almost certain to have Ring (or http-kit), maybe Compojure, 
some “standard” middleware (a concept not always familiar to folks from other 
technologies), and then the rest will be built to suit whatever they prefer… 
much will depend on what persistent storage technology they decide to use, 
whether they are comfortable with an asynchronous programming model, and so on…

 

> I'd like to know if its possible to do that in less than 6 months

 

Possible? Yes, it should be. If you have just a few years of programming 
experience, you likely won’t have any deeply ingrained habits that would make 
learning Clojure more difficult (as can be the case sometimes for folks deeply 
steeped in OOP thinking). It’s hard to say how proficient you’d be after six 
months. Some folks take to FP (functional programming) a lot quicker than 
others, regardless of their background. But, overall, Clojure itself is a 
relatively small, simple language. The idioms can be harder to internalize.

 

> or if I should stay with the framework I know ?

 

That depends on why you are learning programming in the first place. If you 
want to become a better programmer in general, then learning a functional 
programming language such as Clojure is going to be a good thing, even if you 
ultimately decide to stick with the other technology. The “Pragmatic 
Programmer” book suggests attempting to learn a new programming language every 
year – that may not be practical for everyone but it’s certainly a good 
“stretch goal” for self-improvement.

 

Most people who learn Clojure seem to really enjoy using it. Hoping to 
experience that “joy” is a good reason to try it out.

 

Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

 

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to