4 ms·
I think this is true of any language that isn't Javascript or one of its derivatives. When writing web apps we've had this strange setup where the server side c
by pedrocr 9y ago
I think this is true of any language that isn't Javascript or one of its derivatives. When writing web apps we've had this strange setup where the server side can be any language but the browser side had to be JavaScript. It makes it hard to write your code only once and then use it in both contexts which is useful for things like input validation where you want to run it client side to give good and fast feedback in forms but need to do the same validation server side anyway. It also limits programmers to using JavaScript whether they like it or not. This has led to solutions like Google's GWT and on the reverse direction to the popularity of JavaScript on the server side. Hopefully that limitation is finally lifted and the choice of languages for the web becomes much less constrained. Discussions about the flaws of JavaScript are also often very animated because people that don't like it feel forced to use it to be able to program for the web. Hopefully this fixes that too.