You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alternative definition: a technique for confusing the heck out of people reading your code. 🙄 https://en.wikipedia.org/wiki/Operator_overloading
I'm sooooo glad Even chose to leave this out of Elm 0.19! 😂
Operator Overloading notes:
A specific case of polymorphism where different operators have different implementations based on their arguments.
Using operator overloading a developer can define operations (+,-,*) on custom types (not just integers).
Not currently possible in Javascript but found in C++, Scala, Ruby, Haskell, Rust
The text was updated successfully, but these errors were encountered: