tag:blogger.com,1999:blog-6508797467947601724.post8431785601885283345..comments2023-09-16T11:35:50.154-04:00Comments on smuglispweeny: The King is Dead!? Long live... Scala? Clojure?!Kenny Tiltonhttp://www.blogger.com/profile/17430816457662806163noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-6508797467947601724.post-39115748401368427912010-03-25T19:17:13.951-04:002010-03-25T19:17:13.951-04:00Maybe we don't need Clojure to prevail over Sc...Maybe we don't need Clojure to prevail over Scala.<br />If everyone catches on to lisp and rises against being average, how can you beat the averages?Aravindhhttps://www.blogger.com/profile/10325587851222002358noreply@blogger.comtag:blogger.com,1999:blog-6508797467947601724.post-87419476812489905542010-03-25T19:13:02.314-04:002010-03-25T19:13:02.314-04:00@ Grey_lens_man:
That was crazy. What are you smok...@ Grey_lens_man:<br />That was crazy. What are you smoking? <br /><br />-----------------<br />Quoting: Grey_lens_man<br />"then Scala is closer to Lisp then CL is. Trollish yes, but a kernel of truth exists in that statement nonetheless. <br />-----------------<br /><br />Yep, just like a kernel of truth exits in the statement that a plastic model of F16 is closer to the idea of an F16 than an F16 is. And just as useful.<br /><br />-----------------<br />Quoting: Grey_lens_man<br />I'd say Scala is a lot more Lisp-like, by my definition of Lisp,then is apparent at brief glance.<br />-------------------<br /><br />You seriously need help.Aravindhhttps://www.blogger.com/profile/10325587851222002358noreply@blogger.comtag:blogger.com,1999:blog-6508797467947601724.post-9447600779123906112009-11-02T00:00:44.224-05:002009-11-02T00:00:44.224-05:00FYI Phil, there are 3 more books in the works, mea...FYI Phil, there are 3 more books in the works, meaning there will be 4 clojure books soon (Prog Clojure is out now, Amit Rathore's from Manning, APress has one being worked on by Luke Van Der Hart (hope I spelled that right) and finally Idiomatic Clojure by Chris Houser and Fogus (This one and Amit's interest me the most, Idiomatic because Houser is arguably the next most knowledgeable person about Clojure behind Rich himself, so a book he's helping with should be amazing).Unknownhttps://www.blogger.com/profile/04302234580734115570noreply@blogger.comtag:blogger.com,1999:blog-6508797467947601724.post-56437282154259478162009-11-01T18:33:38.471-05:002009-11-01T18:33:38.471-05:00@phil Go, Clojure, go!@phil Go, Clojure, go!Kenny Tiltonhttps://www.blogger.com/profile/17430816457662806163noreply@blogger.comtag:blogger.com,1999:blog-6508797467947601724.post-4766365826227031502009-11-01T17:28:26.671-05:002009-11-01T17:28:26.671-05:00> Got any actual knowledge about Scala and Cloj...> Got any actual knowledge about Scala and Clojure popularity to share instead of worrying about what after all was meant to be a silly metric?<br /><br />Fair enough... let's see; soon they both will have three books available, and they both have about the same number of people on their respective IRC channels.<br /><br />Scala is the 18th most popular language on Github, (http://github.com/languages/Scala) while Clojure bounces between #20 and #21. (http://github.com/languages/Clojure). I'd be surprised if they weren't within 50% of each other in terms of usage levels.Philhttps://www.blogger.com/profile/12517691336187602116noreply@blogger.comtag:blogger.com,1999:blog-6508797467947601724.post-65545555155843140392009-11-01T11:40:56.238-05:002009-11-01T11:40:56.238-05:00With a static type system and no macros, I don'...With a static type system and no macros, I don't think Scala has any appeal to "Lispers". On the other hand, it provides a fairly advanced language in the JVM.<br />Out of curiosity, what's the difference between Scala and Lisp closures?Unknownhttps://www.blogger.com/profile/08901262747852458167noreply@blogger.comtag:blogger.com,1999:blog-6508797467947601724.post-42359393453910913872009-11-01T09:38:48.822-05:002009-11-01T09:38:48.822-05:00Heck, Java has all those things, if you want to us...Heck, Java has all those things, if you want to use byte-code weaving with Aspect Oriented programming and heavy class rewriting with annotations and use anonymous inner classes instead of closures.<br /><br />Expressiveness in a language is about how easy and natural it is to "do the right thing", rather than what's possible in the abstract. All programming languages are, after all, Turning-complete.<br /><br />Personally, this is the reason I much prefer highly-designed, well thought out single-paradigm languages like Clojure rather than "everything and the kitchen sink" languages like Scala.Lukehttps://www.blogger.com/profile/10134066936670865224noreply@blogger.comtag:blogger.com,1999:blog-6508797467947601724.post-35865338773028988172009-11-01T08:37:35.660-05:002009-11-01T08:37:35.660-05:00@greylensman, the devil is in the details. You mas...@greylensman, the devil is in the details. You massively hand-waved on macros, reminding me of Norvig saying regex was the same as macros because you could use it to write a DSL parser. A true Lisper does not consider Scheme to have macros since Scheme macros are so damn hard to code. Scala closures look the same -- abstract capability, maybe. Same programmer experience, not.Kenny Tiltonhttps://www.blogger.com/profile/17430816457662806163noreply@blogger.comtag:blogger.com,1999:blog-6508797467947601724.post-2065436435527925252009-11-01T03:01:24.420-05:002009-11-01T03:01:24.420-05:00I don't see an major issue with Scala's cl...I don't see an major issue with Scala's closures, they are closures by any reasonable definition given the design constraints.<br /><br />Surprise, Scala also has delimited continuations, in fact serializable ones. Google Scala + Swarm. <br /><br />With tail call recursion, delimited continuations, and a call-by-name capability which allows for types of constructions one typically uses macros for, e.g.such as custom loop construction, or callWith thunk wrappers as well as Sequences, Scala is pretty Lispy.<br /><br />In fact IF one were to take the position that the true ultimate lisp in terms of power and capability are the Scheme lisps (and I'm thinking MzScheme here, and not a R5RS minimalist definition) and not CL, then Scala is closer to Lisp then CL is. Trollish yes, but a kernel of truth exists in that statement nonetheless.<br /><br />Again based on my Lisp criteria of TCO, delimited continuations, very lightweight hygenic dsl syntax capability.<br /><br />While not a full MOP with multi-methods, Scala has mixins.<br /><br />Scala also has default and named arguments.<br /><br />It is actually possible to effectively avoid or minimize object use altogether in Scala and write pragmatic functional code that is _very_ similar to SML code, with equivalent constructs to sigs ans structs even functor like construction except one gets it at runtime. In addition, algebraic datatypes and pattern matching. <br /><br />So Scala is pretty SMLly as well.<br /><br />I'd say its feels easier to move oneself into writing HOF / lambda centric code in Scala then CL, less easier then in Scheme, and takes a bit more act of self-awareness of intent then in SML and certainly Haskell. But a high level lambda like coding style is not that difficult in Scala at all.<br /><br />So certainly I'd say Scala is a better Functional Language then Scheme or CL, not too far behind the MLs.<br /><br />What is amazing about Scala is Martin O. has somehow managed to synthesize all these bits and pieces into a whole that has a seamlessness to it. <br /><br />Yes, it has a few rough spots, but the whole has a conceptual integrity about it. <br /><br />I'd say Scala is a lot more Lisp-like, by my definition of Lisp,then is apparent at brief glance.RayRacinehttps://www.blogger.com/profile/12063637186335293030noreply@blogger.comtag:blogger.com,1999:blog-6508797467947601724.post-79772757194712694102009-11-01T00:12:56.767-04:002009-11-01T00:12:56.767-04:00The googlefight was actually accompanied by "...The googlefight was actually accompanied by "java", and is also what I would expect based on Clojure's oddness. A fight on just Scala vs Clojure is more than 50-to-1. Got any actual knowledge about Scala and Clojure popularity to share instead of worrying about what after all was meant to be a silly metric?Kenny Tiltonhttps://www.blogger.com/profile/17430816457662806163noreply@blogger.comtag:blogger.com,1999:blog-6508797467947601724.post-7668418812485706032009-11-01T00:04:10.496-04:002009-11-01T00:04:10.496-04:00> Right now googlefight has Scala winning five ...> Right now googlefight has Scala winning five to one.<br /><br />Scala is a word that has many meanings, one of which is a programming language. Clojure is a word that was invented _because_ it was unique. I don't doubt Scala the language is more popular than Clojure, but the 5-to-1 number is very misleading.Philhttps://www.blogger.com/profile/12517691336187602116noreply@blogger.comtag:blogger.com,1999:blog-6508797467947601724.post-23928609417912361952009-10-31T17:42:26.859-04:002009-10-31T17:42:26.859-04:00> But Clojure gets the nod along with
> Sca...> But Clojure gets the nod along with <br />> Scala just for sitting atop the JRE! <br />> You people scare me.<br /><br />Makes perfect sense though - Java won the marketing battle 15 years ago, and is now a big part of most companies' IT ecosystems. And as a platform the JVM is mature, stable and capable.<br /><br />Having Clojure/Scala running on the JVM means that all in house libraries are available for reuse, and the guys at the top who decide which technologies to use (without of course understanding the tech in question) never need to know... It's just getting into the arena via the backdoor.Anonymoushttps://www.blogger.com/profile/17525563424027503091noreply@blogger.com