Ask HN: Lisp’s parentheses are bad but Elixir end is okay?
Why do people hate Lisp’s parentheses so much, but they don’t find this abomination a step back:

Example Elixir code:

  defmodule A do
    defmacro __using__(_env) do
      quote do
        defmodule Math do
          def plus_itself(y) do
            y + y
          end
        end
      end
    end
  end

It also happens in Ruby and several other languages. Typing “end” is three key strokes whereas “)” is just one or two, depending on your keyboard … ⌘ Read more

⤋ Read More

Participate

Login or Register to join in on this yarn.