Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
platz
on July 6, 2017
|
parent
|
context
|
favorite
| on:
Pattern Matching with TypeScript
under definition 3 then extension methods are also multi-methods - doesn't seem right. even c# has extension methods
rbehrends
on July 6, 2017
[–]
Extension methods do not support dynamic dispatch and hence are not proper instance methods. Try MultiJava's open classes for an approach that works.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: