DEV Community

Discussion on: Which programming language has the prettiest syntax?

Collapse
 
dmerand profile image
Donald Merand • Edited

Elixir! It has a lot of the syntactical sugar from Ruby, which is very nice, but mainly I just love reading functions that look like:

def the_main_workflow(data, other_data) do
  data
  |> first_transformation
  |> now_spice_it_up_with(other_data)
  |> one_last_transformation
end