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

That will just make everything more convoluted and less flexible. When you send a message over websockets you want a Datatype for each message type. It's not going to have any complicated method calls. You just insert the data or retrieve it on the other side. Since the framework expects you to define setters and getters you do it reluctantly.


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

Search: