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, Morloc

*

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 路 Add Prompt 路 Issues 路 About 路 Search 路 Keywords 路 Livestreams 路 Labs 路 Resources 路 Acknowledgements