Do decorators and metaclasses not count as metaprogramming features? I'm sure that languages in the Lisp family might be better suited for metaprogramming than Python but the author's claim seems straightforwardly false.
Python becomes a platform. Thoughts on the release of clojure-py.
11–20 of 33 posts
Re: Python becomes a platform. Thoughts on the release of clojure-py.
#12Re: Python becomes a platform. Thoughts on the release of clojure-py.
#13The idea of a python implementation becoming host to other languages is somewhat interesting. Python has had a good interop story with the vibrant ecosystem of C libraries and is pretty good at being cross-platform as well. However, I'm not sure Clojure is going to impress Python developers for the reasons the author states. Python has metaprogramming and it has an immutable type (the tuple). However, Python has reje…
Re: Python becomes a platform. Thoughts on the release of clojure-py.
#14I'm not sure why the author would say that metaprogramming is "absent" from Python. Do decorators and metaclasses not count as metaprogramming features? I'm sure that languages in the Lisp family might be better suited for metaprogramming than Python but the author's claim seems straightforwardly false.
Not when compared to macros in lisp dialects. The closest python comes is: http://docs.python.org/library/ast.html but lisp with it's simple structure is much less unwieldy.
Re: Python becomes a platform. Thoughts on the release of clojure-py.
#15 JVM -> Clojure
Javascript -> ClojureScript
Erlang VM -> Joxa
CPython/PyPy -> Clojure-py
In a few years clojurers/lispers will be able to target multiple platforms with one simple language.As a pythonista myself, I used to feel overcome with nausea just by looking at Clojure/Lisp code. However, Erlang was my gateway drug into the functional/bizarre-syntax world and now, after a few weeks (and two books) with Clojure I'm having a bit of an identity crisis: my brain simply refuses to touch messy-non-Lisp code ever again.
Re: Python becomes a platform. Thoughts on the release of clojure-py.
#16Re: Python becomes a platform. Thoughts on the release of clojure-py.
#17I'd argue that clojure-py is important for a different reason: Clojure is slowly sneaking up on every popular runtime: JVM -> Clojure Javascript -> ClojureScript Erlang VM -> Joxa CPython/PyPy -> Clojure-py In a few years clojurers/lispers will be able to target multiple platforms with one simple language. As a pythonista myself, I used to feel overcome with nausea just by looking at Clojure/Lisp code. However, Erlan…
Re: Python becomes a platform. Thoughts on the release of clojure-py.
#18I'd argue that clojure-py is important for a different reason: Clojure is slowly sneaking up on every popular runtime: JVM -> Clojure Javascript -> ClojureScript Erlang VM -> Joxa CPython/PyPy -> Clojure-py In a few years clojurers/lispers will be able to target multiple platforms with one simple language. As a pythonista myself, I used to feel overcome with nausea just by looking at Clojure/Lisp code. However, Erlan…
What would that two books be? I'm reading the joy of clojure myself now. So far so good.
So I backed up, practiced some (koans, 4clojure, Euler), read Stuart Sierra's Programming Clojure and then read TJoC. Both excellent books, btw.
Re: Python becomes a platform. Thoughts on the release of clojure-py.
#19I'd argue that clojure-py is important for a different reason: Clojure is slowly sneaking up on every popular runtime: JVM -> Clojure Javascript -> ClojureScript Erlang VM -> Joxa CPython/PyPy -> Clojure-py In a few years clojurers/lispers will be able to target multiple platforms with one simple language. As a pythonista myself, I used to feel overcome with nausea just by looking at Clojure/Lisp code. However, Erlan…
Re: Python becomes a platform. Thoughts on the release of clojure-py.
#20I'd argue that clojure-py is important for a different reason: Clojure is slowly sneaking up on every popular runtime: JVM -> Clojure Javascript -> ClojureScript Erlang VM -> Joxa CPython/PyPy -> Clojure-py In a few years clojurers/lispers will be able to target multiple platforms with one simple language. As a pythonista myself, I used to feel overcome with nausea just by looking at Clojure/Lisp code. However, Erlan…
Sadly, I believe all of these ports run slightly different dialects of Clojure (beyond the things that must be different, like interacting with code written in other languages).