-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Section "Not planned" includes polymorphism, but Jai has polymorphic procedures and structs #8
Comments
I think the "Not planned" section is referring to runtime polymorphism (e.g. C++ polymorphism), while Jai has parametric polymorphism (also known as generics or templates). |
When I wrote polymorphism there I meant |
Multiple inheritance? |
Yep. |
Ok, I think the proper term in this context is "subtype polymorphism": https://en.wikipedia.org/wiki/Polymorphism_(computer_science) |
(Deleted a comment on the PR so the conversation is all in one place) I think Jai actually has subtype polymorphism through
When I wrote "polymorphism" in the document I specifically meant multiple inheritance polymorphism, but I think Jai actually has that too with multiple using statements. Maybe it's best to just remove that line from the document? |
No description provided.
The text was updated successfully, but these errors were encountered: