Hacker News new | past | comments | ask | show | jobs | submit login

> Often you want to add validators to your setters. Just named arguments won't cut it.

Are you suggesting that arguments can’t be validated in a constructor? I don’t think I’m following the argument.




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

Search: