Re: Why I'm giving Clojure a try

2014-04-17 Thread Massimiliano Tomassoli
On Thursday, April 17, 2014 2:19:48 PM UTC+2, ajlopez wrote: > > Hi Massimiliano! > > I read you at Scala list. > Hi, I remember you :) > Short comment: there is a clojurescript googlegroup, too. > Thanks, I didn't know that! -- You received this message because you are subscribed to the Goo

Re: Why I'm giving Clojure a try

2014-04-17 Thread Massimiliano Tomassoli
On Thursday, April 17, 2014 2:17:13 AM UTC+2, Zhemin Lin wrote: > > Hi Massimiliano, > You may also want to give ClojureScript or LiveScript (which compiles to > JavaScript and run on node.js) a try! > LiveScript is quite functional and the callback hell is somewhat eased. > Well, ClojureScript i

Re: Why I'm giving Clojure a try

2014-04-16 Thread Massimiliano Tomassoli
On Wednesday, April 16, 2014 7:25:54 PM UTC+2, Mike Haney wrote: > > It's almost cliche to say it, but you really do get used to the > parenthesis. Once you do, you won't give it a second thought, and for me > at least, it's the other languages that start to look "weird" with their > irregular

Re: Why I'm giving Clojure a try

2014-04-16 Thread Massimiliano Tomassoli
On Wednesday, April 16, 2014 6:27:03 PM UTC+2, Dan Cross wrote: > > On Wed, Apr 16, 2014 at 12:06 PM, Massimiliano Tomassoli < > kiuh...@gmail.com > wrote: > >> Thank you both for the warm welcome! >> Right now I'm reading "Clojure for the Brave and True&quo

Re: Why I'm giving Clojure a try

2014-04-16 Thread Massimiliano Tomassoli
On Wednesday, April 16, 2014 6:06:57 PM UTC+2, Massimiliano Tomassoli wrote: > > Thank you both for the warm welcome! > Right now I'm reading "Clojure for the Brave and True". I'm not new to > functional programming, but I'm not familiar with LISPy languages.

Re: Why I'm giving Clojure a try

2014-04-16 Thread Massimiliano Tomassoli
Thank you both for the warm welcome! Right now I'm reading "Clojure for the Brave and True". I'm not new to functional programming, but I'm not familiar with LISPy languages. I can see the value of having such a regular syntax (or absence of it) but it takes a while to get comfortable with it. On

Why I'm giving Clojure a try

2014-04-16 Thread Massimiliano Tomassoli
Some months ago I decided to learn a new language. In the end, I had to choose between Scala and Clojure and I chose Scala because Clojure was too alien to me. I was looking for a language to write web apps and Scala, with Play 2, seemed like a natural choice to me. The fact that Clojure had man

Re: protocols and overloading

2013-12-30 Thread Massimiliano Tomassoli
On Monday, December 30, 2013 6:46:13 PM UTC+1, tbc++ wrote: > > And what Cedric says is correct, encapsulation is rarely a good thing, and > inheritance is overrated. > That's your opinion, not a fact. By saying that something is overrated you're just admitting that many people don't agree with

Re: protocols and overloading

2013-12-30 Thread Massimiliano Tomassoli
On Monday, December 30, 2013 6:31:52 PM UTC+1, Cedric Greevey wrote: > > On Mon, Dec 30, 2013 at 12:30 PM, Massimiliano Tomassoli < > kiuh...@gmail.com > wrote: > >> On Sunday, December 29, 2013 11:30:16 PM UTC+1, Cedric Greevey wrote: >> >>> On Sun, Dec

Re: protocols and overloading

2013-12-30 Thread Massimiliano Tomassoli
On Monday, December 30, 2013 6:27:05 PM UTC+1, Cedric Greevey wrote: > > On Mon, Dec 30, 2013 at 12:13 PM, Massimiliano Tomassoli < > kiuh...@gmail.com > wrote: > >> On Sunday, December 29, 2013 10:11:47 PM UTC+1, tbc++ wrote: >>> >>> Not mentioned in Ce

Re: protocols and overloading

2013-12-30 Thread Massimiliano Tomassoli
On Sunday, December 29, 2013 11:30:16 PM UTC+1, Cedric Greevey wrote: > > On Sun, Dec 29, 2013 at 4:11 PM, Timothy Baldridge > > > wrote: > >> Not mentioned in Cedric's post are two other important things: >> >> Protocols can be extended to existing types. >> > > These are important for the Expre

Re: protocols and overloading

2013-12-30 Thread Massimiliano Tomassoli
On Sunday, December 29, 2013 10:11:47 PM UTC+1, tbc++ wrote: > > Not mentioned in Cedric's post are two other important things: > > Protocols can be extended to existing types. For example: > > (defprotocol IType > (type-as-string [x])) > > (extend-protocol IType > String > (type-as-string [x

Re: protocols and overloading

2013-12-29 Thread Massimiliano Tomassoli
On Sunday, December 29, 2013 7:05:28 PM UTC+1, Cedric Greevey wrote: > > On Sun, Dec 29, 2013 at 12:27 PM, Massimiliano Tomassoli < > kiuh...@gmail.com > wrote: > >> What's the difference between protocols and simple overloading? >> > > Dynamic dispatch.

protocols and overloading

2013-12-29 Thread Massimiliano Tomassoli
What's the difference between protocols and simple overloading? For instance, in C++ I could use structs for Clojure's datatypes and simple overloading for protocols. -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send ema

Re: Is Clojure right for me?

2013-12-27 Thread Massimiliano Tomassoli
On Saturday, December 28, 2013 2:26:17 AM UTC+1, Mars0i wrote: > > On Friday, December 27, 2013 6:27:34 PM UTC-6, Massimiliano Tomassoli > wrote: >> >> I must admit I don't like its syntax (or absence of it), but I hope to >>> get used to it. >>> >

Re: Is Clojure right for me?

2013-12-27 Thread Massimiliano Tomassoli
On Friday, December 27, 2013 10:47:35 PM UTC+1, Jeff Heon wrote: > > Given your goals of evaluating the language quickly, not having a lot of > free time to devote to it, and having to get productive fast in a web > environment, > I think a better avenue to explore would be > Groovy

Re: Is Clojure right for me?

2013-12-27 Thread Massimiliano Tomassoli
On Friday, December 27, 2013 10:12:06 PM UTC+1, john walker wrote: > > What are some flaws that you think Clojure has? : ) > I don't even know the language yet! :) -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: Is Clojure right for me?

2013-12-27 Thread Massimiliano Tomassoli
On Friday, December 27, 2013 10:07:14 PM UTC+1, Sean Corfield wrote: > > On Fri, Dec 27, 2013 at 12:24 PM, Massimiliano Tomassoli > > So I was under the impression that you were criticizing something you > didn't > > fully understand. > > Perhaps you've

Re: Is Clojure right for me?

2013-12-27 Thread Massimiliano Tomassoli
On Friday, December 27, 2013 7:31:25 PM UTC+1, Sean Corfield wrote: > > I'm not sure why you are less trusting of their > real world experiences than what your professors told you about > (theoretical) OOP... > First, someone said that OOP doesn't alleviate the problems that it's supposed to s

Re: Is Clojure right for me?

2013-12-27 Thread Massimiliano Tomassoli
That makes me think that maybe there's a need for more books about Clojure. There are many introductory books but nothing more advanced such as best practices, patterns, etc... That's maybe a problem for someone like me who wants to "do things right" from the start. Should I read books about Com

Re: Is Clojure right for me?

2013-12-27 Thread Massimiliano Tomassoli
I've seen Clojure in action and I know it's extremely concise and expressive. What I wanted to know is how it copes with complexity when you develop complex systems. You can't get an idea of that just by writing some code and getting a feeling about the language, IMHO. When I studied OOP at Uni

Re: Is Clojure right for me?

2013-12-27 Thread Massimiliano Tomassoli
On Friday, December 27, 2013 7:29:22 AM UTC+1, Sean Corfield wrote: > > On Thu, Dec 26, 2013 at 8:32 AM, Massimiliano Tomassoli > > How do you decompose large systems in Clojure? > > I'm curious as to why you think only OOP allows you to decompose large > systems? Bet

Re: Is Clojure right for me?

2013-12-27 Thread Massimiliano Tomassoli
The point is that Clojure is not the only modern language out there. I can't possibly learn them all in depth just to decide which language to use for my production code. That would be time-inefficient because my goal in not to learn languages, but to pick up a new language suitable for my needs

Re: Is Clojure right for me?

2013-12-26 Thread Massimiliano Tomassoli
On Thursday, December 26, 2013 10:00:46 PM UTC+1, James Reeves wrote: > > On 26 December 2013 19:53, Massimiliano Tomassoli > > > wrote: >> >> Why implicit? Objects communicate through well-defined channels. OOP can >> certainly be misused but it served me wel

Re: Is Clojure right for me?

2013-12-26 Thread Massimiliano Tomassoli
On Thursday, December 26, 2013 10:04:21 PM UTC+1, Luc wrote: > > a) encapsulation of unmutable state ? What for ? > b) inheritance ? see a) > c) polymorphism ? Multimethods (which are more flexible) or protocols > > Nice words but not much else. > > Comparing C versus C++ is fair but this compa

Re: Is Clojure right for me?

2013-12-26 Thread Massimiliano Tomassoli
On Thursday, December 26, 2013 11:04:00 PM UTC+1, Luc wrote: > > Ok I'll drop the subject. Still cannot understand why people cannot > try something new w/o sticking to the stuff they know already until they > are > totally immersed in the new thing. And by that I mean use the new thing as > it

Re: Is Clojure right for me?

2013-12-26 Thread Massimiliano Tomassoli
On Thursday, December 26, 2013 10:26:11 PM UTC+1, Gary Trakhman wrote: > > "If I were to implement something (complex enough) in C and C++ the > differences between my implementations would be far from superficial." > > Those are both inexpressive in different ways. In my opinion java is > close

Re: Is Clojure right for me?

2013-12-26 Thread Massimiliano Tomassoli
On Thursday, December 26, 2013 9:18:06 PM UTC+1, Luc wrote: > > Now you could create un mutable > objects but then why bother > creating classes with hidden > behaviours if there is no hidden > state ? > The state is still hidden. Even if the state is immutable: 1) other code could access it

Re: Is Clojure right for me?

2013-12-26 Thread Massimiliano Tomassoli
On Thursday, December 26, 2013 9:01:56 PM UTC+1, HamsterofDeath wrote: > > exactly which part of OOP is missing in clojure that you would like to use? > if you took my java code and ported it to clojure, the main difference > would be (a b) instead of b.a , but the main design would be similar >

Re: Is Clojure right for me?

2013-12-26 Thread Massimiliano Tomassoli
On Thursday, December 26, 2013 7:51:39 PM UTC+1, James Reeves wrote: > > On 26 December 2013 16:32, Massimiliano Tomassoli > > > wrote: > >> Thank you, Malcolm. I'm completely new to LISP and its dialects and I'm a >> little bit worried about the absen

Re: Is Clojure right for me?

2013-12-26 Thread Massimiliano Tomassoli
On Thursday, December 26, 2013 7:55:05 AM UTC+1, Devin Walters (devn) wrote: > > http://hoplon.io/#/home/ > http://caribou.github.io/caribou/docs/outline.html > > On Thursday, December 26, 2013 at 12:26 AM, tao wrote: > > http://pedestal.io/ > http://www.luminusweb.net/ > > Why so many framework

Re: Is Clojure right for me?

2013-12-26 Thread Massimiliano Tomassoli
On Thursday, December 26, 2013 11:16:07 AM UTC+1, James Reeves wrote: > > What sort of web development were you planning to do? > > I'd like to build websites. What kind depends on what my clients need. -- -- You received this message because you are subscribed to the Google Groups "Clojure" gro

Re: Is Clojure right for me?

2013-12-26 Thread Massimiliano Tomassoli
term' productivity to meet a particular > project goal (choose a web framework), or sustainable productivity to > deliver value to your users over the longer term (choose to learn, > understand and utilize a set of components from the wide pool that the > Clojure community has cr

Is Clojure right for me?

2013-12-25 Thread Massimiliano Tomassoli
Hi, I'm not sure if Clojure is the right language for me. I'd like to use Clojure mainly for web development but I don't know if it's already mature enough to be productive. For instance, Scala has Play, Groovy has Grails, etc... If I'm not wrong, Clojure doesn't have a well-established framewor