3 ms·
About "which Lisp": I think most people recommend PLT Racket for newbies. I do, even though I use Kawa Scheme daily. About macros: If I recall correctly, Schem
by brlewis 16y ago
About "which Lisp": I think most people recommend PLT Racket for newbies. I do, even though I use Kawa Scheme daily.
About macros: If I recall correctly, Scheme got hygenic macros in 1991 with R5RS. If I recall incorrectly it was earlier, definitely not later.
Many Scheme implementations clone CL's defmacro, which is non-hygienic unless you're careful, but is useful. There's also syntax-case, which is hygienic by default, but let's you break hygiene explicitly.
Macros should be used only when functions won't do, and not because of tool support. Macros act at compile time, not run time, so they aren't run-time objects that can be used flexibly the way functions can.
- lelele 16y agos/Macros should be used/Macros must be used/ ;-)
- nickik 16y agoHow is it to work with kawa. I only no that it exists not more. Some question: 1. Can you use it professionally? 2. Whats the benefit over clojure? 3. Does it live close to java and is it still lispy to work with java (clojure does well there I think) 4. How fast is it?
- brlewis 16y ago1. Yes 2. Scheme is a better-established standard. Nice macro system. 3. Easy Java integration and totally lispy...not 100% Schemey because you can't do continuation capture. 4. It's way faster than PHP4. I haven't benchmarked it in years, because performance hasn't been an issue.