Re:GNOME project picks JavaScript as "first class" dev language
by keeperofdakeys on Tuesday February 05, 2013 @06:46PM
(#5174082)
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).
[ Parent
| on HN ]
Re:GNOME project picks JavaScript as "first class" dev language
by jiggy2011 on Tuesday February 05, 2013 @07:02PM
(#5174145)
That 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.