3 ms·
Why not? As always, this is a huge "it depends". Take game development for example, it's very common for huge overlap between client code and server code, both
by shazow 15y ago
Why not?
As always, this is a huge "it depends". Take game development for example, it's very common for huge overlap between client code and server code, both often written in the same language for this reason.
- 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.