tag:blogger.com,1999:blog-5135517.post110624875348383804..comments2023-11-05T03:54:44.710-08:00Comments on Making it stick.: Smug Lisp WeeniesPatrick Loganhttp://www.blogger.com/profile/02088461489050417591noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-5135517.post-1106328471765023092005-01-21T09:27:00.000-08:002005-01-21T09:27:00.000-08:00Lambdas and nested definitions in Python are less ...Lambdas and nested definitions in Python are less desirable than in Lisp. Of course that is arguable if you are not a Smug Lisp Weenie, as is your take on syntax extension.<br /><br />However syntax extension has been shown to be much more than academic. Again if we could get the academics to adopt the Lisp approach to syntax and syntax extension then that in itself would be a milestone event.Patrick Loganhttps://www.blogger.com/profile/02088461489050417591noreply@blogger.comtag:blogger.com,1999:blog-5135517.post-1106322169912539092005-01-21T07:42:00.000-08:002005-01-21T07:42:00.000-08:00Python has closures as I understand them, e.g.:
d...Python has closures as I understand them, e.g.:<br /><br />def make_me_a_closure(foo):<br /> bar = 10<br /> def a_closure(baz):<br /> return foo+bar+baz<br /> return a_closure<br /><br />?<br /><br />I have reservations about macros (or syntax extension). I haven't come across a large project with a large team that uses macros (not suggesting there aren't any). Surely adding or altering syntax makes it significantly harder for new engineers to be brought onto the team? The Python way of design seems to be "we can do all the useful stuff in a simple syntax". So far I would suggest they have been proved right. Lisps advantages have this far have proved academic.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5135517.post-1106284252607888612005-01-20T21:10:00.000-08:002005-01-20T21:10:00.000-08:00"outside of the CS department"
Ouch.
I think Li..."outside of the CS department"<br /><br />Ouch. <br /><br />I think Lisp is safely outside the CS dept. If we could get it *into* the CS dept. maybe things would improve a bit.<br /><br />"Listing those significant ways"<br /><br />Syntax extension, syntax itself, closures, continuations (Scheme in this case), to name the top of my list. <br /><br />I would also include as a result of these, Lisp is a good vehicle for language experimentation (or just defining new object systems), whereas Python provides a simple object system it is more restricted in where you can take it.<br /><br />Which is not to say that I would not choose Python over 90% of the industry's languages. I would.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5135517.post-1106280338302752302005-01-20T20:05:00.000-08:002005-01-20T20:05:00.000-08:00One could also say that Python is the subset of Li...One could also say that Python is the subset of Lisp necessary for a language to succeed outside of the CS department.Anonymousnoreply@blogger.com