Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!cs.uu.nl!news0.firedrake.org!news.nosignal.org!newsgate.cistron.nl!newsgate.news.xs4all.nl!post2.news.xs4all.nl!newszilla.xs4all.nl!not-for-mail Newsgroups: comp.lang.javascript Subject: Re: Programming style question From: "Evertjan." References: Date: Sat, 20 Oct 2012 18:30:43 +0200 Message-ID: User-Agent: Xnews/2009.05.01 Lines: 35 NNTP-Posting-Host: 188.142.36.213 X-Trace: 1350750647 dreader34.news.xs4all.nl 3077 ehannivo/188.142.36.213:62727 Xref: csiph.com comp.lang.javascript:16751 Patricia Shanahan wrote on 20 okt 2012 in comp.lang.javascript: > On 10/20/2012 2:21 AM, Bart Van der Donck wrote: >> Patricia Shanahan wrote: [...] > My problem is that I'm writing an application that needs to run > conveniently on any tablet, including iPad. I would prefer not to write > several different implementations. The application must run offline, so > it cannot depend on server code. I would also prefer not to go through > Apple's review process - I don't think they would reject this > application, but it would be a schedule risk outside my control. > > As far as I can tell, the combination of HTML and JavaScript meets my > portability requirements, and I have not found anything else that does. > I can require installation of a reasonably current browser, reducing the > amount of special case code. > > Although I've been forced by program requirements into implementing in > JavaScript, I need to learn JavaScript well enough to write non-trivial > code in it and make it not just work, but be readable and maintainable. > Some of the worst, least readable programs I've seen have been written > by people who wanted to be programming in a different language, and > never fully entered into the spirit of the language they were actually > using. I don't intend to repeat that mistake. I really have to learn to > write JavaScript as JavaScript, not as though it were a strange dialect > of some other language. 'JavaScript as JavaScript' and 'spirit of the language' surely meaning accommodating Javascript's weak-typed variable value system? -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)