Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
andrekandre
on Oct 24, 2020
|
parent
|
context
|
favorite
| on:
PHP 8: Before and After
> it's implementation of interfaces is too relaxed
as someone only casually used to python im curious how so?
SergeAx
on Oct 28, 2020
[–]
It only has duck-typed interfaces, unable to verify methods' signatures. Trying to implement strong inheritance leads to monstrosities __instancecheck__ and __subclasscheck__ and manual type checking of injected dependencies.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
as someone only casually used to python im curious how so?