Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> You can't do that e.g. with c#, where one class will never be exchangeable with an unrelated class , no matter how similar the definitions.

Agreed. Duck typing is a killer feature. I can't say how many time's I've rolled a new class for no reason other than data structuring, which would have been far preferable as something just defined inline.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: