logoalt Hacker News

kosteryesterday at 4:07 AM0 repliesview on HN

Maybe it's wrong to call it homoiconicity, but Julia code in symbolic form is a first-class citizen in a way that has no remote equivalent in Python.

    Expr(:call, :+, 1, Expr(:call, :*, 2, 3)) |> eval # 7
The fact that it displays as 1 + 2 * 3 instead of (+ 1 (* 2 3)) ... meh. The whole point is to make metaprogramming easy, which Julia is quite successful at (for better or worse -- some people shouldn't be allowed near macros).