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

Thanks. Is this really a big issue though? How often do you really need shared code between the server and client? Seems like I'm missing something.


If you have a client and a server, you'll most likely need to handle input or state twice. You shouldn't trust the client but you also don't your user to depend exclusively on the server (you want less latency and/or more informative errors).


Multiplayer games where you need to do client-side game logic and then verify that on the server.




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

Search: