re: Ruby – Pattern Matching – Second Impressions VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

Correct, that's what overloading means - defining methods with same name but with different method signatures, and method signatures are usually types & arity.

What you're referring to (in Elixir) is a combination of both - when you have pattern matching, your method signatures aren't just types & arity, but also patterns.

code of conduct - report abuse