Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download

Polymorphism

< >
Example from 1 languages: JavaScript
"a" + "b"; 1 + 2
Example from 1 languages: Elixir
https://hexdocs.pm/elixir/Protocol.html
Example from 1 languages: Felix
// overloads fun f (x:double) => x +42.1; fun f (x:int) => x + 1; fun f (x:string) => x + "!";
Example from 1 languages: Speedie
|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 Resources Acknowledgements Part of the World Wide Scroll