4 ms·
> Why not? Because server code and client code do very different things. Once you start using node.js you start to feel that real hard. Server code is accessin
by maratd 15y ago
> Why not?
Because server code and client code do very different things. Once you start using node.js you start to feel that real hard. Server code is accessing the database, client code is rendering to screen, etc.
Mixing that is always a bad idea, even in games. You'll end up with spaghetti code.
You will also probably have different guys working on server stuff and client stuff. Keeping it separate will make things easier there too.