Assume mainstream adoption as used by around 7% of all github projects

Personally, I’d like to see Nim get that growth.

  • TQuid@beehaw.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    11 months ago

    The most beautiful language. Why doesn’t every language have pipes?

    • morrowind@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      11 months ago

      I find Universal Function Call Syntax a much nicer solution than pipes, although I don’t think it’s quite as broad.

      For example, taking the example from elixir’s home page:

      "Elixir" |> String.graphemes() |> Enum.frequencies()
      

      would be

      "Elixir".graphemes.frequences
      

      in something like D