Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

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.

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements