News for hackers. Stuff that matters.
Re:Loop: a programming language for the JVM inspired by Hask... by eta_carinae on Tuesday May 29, 2012 @08:53PM (#4040811)
> Polymorphism in this instance is simply allowing you to call the same function with an integer and string respectively.

Er... no, that's not polymorphism, that's overloading.

Re:Loop: a programming language for the JVM inspired by Hask... by dons on Tuesday May 29, 2012 @09:01PM (#4040833)
In computer science, polymorphism is a programming language feature that allows values of different data types to be handled in a uniform manner.

This may be ad hoc polymorphism (often synonymous with overloading) - or parametric polymorphism (as in ML or Haskell); but it's unclear what they actually do without some language semantics.

Re:Loop: a programming language for the JVM inspired by Hask... by ufo on Wednesday May 30, 2012 @09:45AM (#4042764)
And to be more complete, OO-style polymorphism is usually referred to as "subtype polymorphism" and the parametric polymorphism dons talked about is like C++ or Java "generics"