Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

Polymorphism

< >
Example from 1 languages: undefined
"a" + "b"; 1 + 2
Example from 1 languages: undefined
https://hexdocs.pm/elixir/Protocol.html
Example from 1 languages: undefined
// overloads fun f (x:double) => x +42.1; fun f (x:int) => x + 1; fun f (x:string) => x + "!";
Example from 1 languages: undefined
|object| x = somefunction() || y = x.render // returns a string by calling the virtual func "render"
*

Languages with Polymorphism include JavaScript, Elixir, Pascal, Felix, Speedie

*

Languages without Polymorphism include Jule

*

View all concepts with or missing a hasPolymorphism measurement

*

Read more about Polymorphism on the web: 1.

View source

- Build the next great programming language About Acknowledgements Extensions Day 631 Donate feedback@pldb.io