Some parts aren't specifically static polymorphism, but are more direct comparisons to Rust traits (which form the basis of Rust static polymorphism)

This commit is contained in:
Bradlee Speice 2020-08-25 12:01:26 -04:00
parent a62c6851d9
commit 92a706415a

View File

@ -7,7 +7,8 @@ tags: [python]
---
Other languages have done similar things (interfaces in Java), but think the Rust comparison is
useful because both languages are "system."
useful because both languages are "system." Mostly looking at how static polymorphism is implemented
in C++ and Rust, but also some comparisons to Rust behavior not strictly related to polymorphism.
# Simple Example