Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!aioe.org!.POSTED!not-for-mail From: Richard Maher Newsgroups: comp.lang.java.programmer Subject: Re: Developing for AWT/Swing and Android portability Date: Sat, 17 Aug 2013 08:55:45 +0800 Organization: Aioe.org NNTP Server Lines: 53 Message-ID: References: <520c1295$0$304$14726298@news.sunsite.dk> NNTP-Posting-Host: jOhPn0KFjrxwuMc9OPMmCw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:25038 On 8/17/2013 8:24 AM, Qu0ll wrote: > > I just think I would be far more productive coding in Java than I ever > would be in JavaScript But that's presumably because you've invested a lot of time and effort to develop the knowledge and techniques to make you good at it. Knowledge that at least to some degree you're going to have to throw away to make room for something more appropriate/useful/popular. Put down that security blanket and stop hugging that tree it's not so bad outside. > and not just because of the nature of the > languages but also because of the tools, editors, IDEs etc. that are > more advanced and work better with Java. The same bleating can be heard from VisualStudio people but the Web developer support IDEs and Debuggers have really come on in recent years. > Also, the Java Platform has > such an incredible amount of additional useful, mature functionality > that I would be continually writing from scratch in a pure JavaScript > application (or C++ or just about any other language for that matter). Unfortunately *Many* out there feel the same way and are compelled to include hundreds of MB of JS libraries to achieve the simplest most pedestrian of tasks :-( See http://en.wikipedia.org/wiki/Cargo_cult_programming And then you'll start longing for "unobtrusive Javascript" so you don't have to spend half and hour learning about the DOM and finally search out some abortion of a library that "Gives me my classes" by mutating JSON :-( As far as the perils/drawbacks of writing something from scratch, we are looking at sorting some Lab location on how close they are to the user and foun this: - https://developer.mozilla.org/en-US/docs/WebAPI/Using_geolocation Maybe the watch event would be easier in PURE Java? > > -- > And loving it, > > -Qu0ll (Rare, not extinct) > _________________________________________________ > Qu0llSixFour@gmail.com > [Replace the "SixFour" with numbers to email me] Cheers Richard Maher