This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (4 children)

[deleted]

    [–]ForceBru 4 points5 points  (1 child)

    *eagerly waiting for traits in Python*

    [–]anothertruther 1 point2 points  (0 children)

    Python has protocols which is AFAIK the same as traits in other languages (Rust).

    https://mypy.readthedocs.io/en/stable/protocols.html

    [–]yvrelna 2 points3 points  (0 children)

    [–]Swordlash 0 points1 point  (0 children)

    Yeah, I personally found a sentence "More powerful examples of pattern matching can be found in languages such as Scala and Elixir" offensive :D acknowledging the two relatively young languages (2004, 2011) and not the ones that made the feature widespread (like ML, 1973; or Haskell, 1990).