This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is clojure a good "first" language for a novice programmer?

 
Igor Mechnikov
Ranch Hand
Posts: 100
Chrome Linux VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you,

Igor
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is piano as good first instrument for a novice player?
Can't see why it can't be a first language except the current jobs market, Clojure isn't on high demand yet.
But there is one problem, you may hate other programming languages
 
Amit Rathore
author
Greenhorn
Posts: 20
Clojure
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It absolutely is.

Take a look at this: How to design programs and also Structure and Interpretation of Computer Programs. Both are meant as entry-level programming courses, and indeed, folks that have worked through those two books have been enlightened in ways that make them better programmers for the rest of their careers. Both those use Scheme as the programming language.

Clojure is right there with such languages; in fact, it is a modern LISP, designed with abstractions (Java interfaces, for instance), and is functional (with all core data-structures being immutable). It has concurrency support with an efficient implementation of STM (software transactional memory), resulting in a great choice for (safe!) multithreaded programming.

It certainly teaches all the right concepts!
 
Igor Mechnikov
Ranch Hand
Posts: 100
Chrome Linux VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
John Todd wrote:Is piano as good first instrument for a novice player?
Can't see why it can't be a first language except the current jobs market, Clojure isn't on high demand yet.
But there is one problem, you may hate other programming languages


OK, John.
Where do I sign up?
 
Igor Mechnikov
Ranch Hand
Posts: 100
Chrome Linux VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Amit Rathore wrote:It absolutely is.

Take a look at this: How to design programs and also Structure and Interpretation of Computer Programs.


Wonderful. Both of these books are available online. I wonder if it might be worthwhile to go through them using Clojure.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Someone already did it
http://sicpinclojure.com/
 
Huahai Yang
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would refrain from learning Clojure from Scheme books at the beginning. It might be good idea to try those books after having familiarized with Clojure already.
 
Amit Rathore
author
Greenhorn
Posts: 20
Clojure
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree. Reading the Scheme books helps much more with getting used to and grokking the functional style.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic