3 ms·
Web applications are built around the DOM, using onClick methods and many other "web-only" apis. They can not be easily ported without almost a total rewrite, s
by keeperofdakeys 14y ago
Web applications are built around the DOM, using onClick methods and many other "web-only" apis. They can not be easily ported without almost a total rewrite, so you may as well use a different language. I also think that recommending a different language is better then recommending javascript, even if that's all the person knows (naturally I'm not suggesting they remove javascript support).
- jiggy2011 14y agoThat will depend on the application in question and how much of the code is directly related to the GUI. All of the business logic , AJAX requests etc should be fairly reusable. I know there have been plenty of times building web apps where I have had to maintain separate front-end and back-end code in different languages that does exactly the same thing. Time can also be a factor, if you are already maintaining a web client , a mac client in obj-C and possibly an android Java client having to learn yet another language and ecosystem is probably not what you want.