Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Kiro
· 11y ago · 0 comments
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.
Comments
[–]
jonasmalaco
11y ago
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).
[–]
larsiusprime
11y ago
Multiplayer games where you need to do client-side game logic and then verify that on the server.