This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Re: scala-macros vs scala-virtualized

2 replies
fanf
Joined: 2009-03-17,
User offline. Last seen 2 years 30 weeks ago.
On 14/02/2012 16:57, Daniel Sobral wrote:
CpusQtiaSg7XdyVBaeTYuZYaw [at] mail [dot] gmail [dot] com" type="cite">[...]
CpusQtiaSg7XdyVBaeTYuZYaw [at] mail [dot] gmail [dot] com" type="cite"> Macros + Interpolation make it possible to remove XML while, at the same time, providing it as a library. And, like XML, one could likewise provide JSON, etc.


Yes, it's what I keep saying to myself :) That would be great indeed, let's just hope that it will the main focus point of Scala 2.11.

-- 
Francois ARMAND
http://fanf42.blogspot.com
http://www.normation.com
Naftoli Gugenheim
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.
scala-macros vs scala-virtualized
On Saturday, February 18, 2012, Daniel Sobral wrote:
Don't bend over trying to appease people who will judge you based on
their misconceptions. If they decide to misjudge it, THEY will call it
macros, no matter name we chose.


If the issue is whether we should be offended by such misjudgements, or whether we should be friends with such people, or alternatively if the issue was only people who are purposely trying to scare people away from scala, then that would be a valid argument.
But there is another issue, probably a more important one. A name like "macro" has the potential to easily scare away many people who simply don't know better, people who don't have much of an impression of scala yet and will now have a negative one simply due to misunderstanding.
Also, the field of advertising is all about how things impact one subconsciously, so I can't really comment but possibly that would be relevant to this. Also it could be the idea is that most people most of the time don't think into most things but walk away with whatever impression they happen to have formed. And when the conscious mind isn't deciding what impression to form, the subconscious mind is. Certainly in this case where it's not a matter of subconscious vs. conscious, but first-glance impression or skimming a screenfull vs. reading up on it properly, there could be many people out there who would pass over scala due to simple misunderstanding.
Cédric Beust ♔
Joined: 2011-06-17,
User offline. Last seen 42 years 45 weeks ago.
Re: scala-macros vs scala-virtualized
On Mon, Feb 20, 2012 at 3:40 PM, Naftoli Gugenheim <naftoligug [at] gmail [dot] com> wrote:
But there is another issue, probably a more important one. A name like "macro" has the potential to easily scare away many people who simply don't know better, people who don't have much of an impression of scala yet and will now have a negative one simply due to misunderstanding.

Case in point: in their latest episode, the Javaposse was going through an old article that was giving several reasons why "Java sucks", one of them was that it "doesn't have macros". Everybody on the Posse agreed that this was actually a good thing, that we really, really didn't want macros.
It took me a few seconds to realize that they were all (both the author of the article and the Posse dudes) talking about C-style macros, not Lisp-style ones.
For better of for worse, there are many, many more people who associate "maros" with #define and #ifdef than with Lisp macros.
-- Cédric

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland