Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #36628
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Javascript replacing Java? |
| Date | 2017-05-15 19:08 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <ofdce0$1vg5$1@gioia.aioe.org> (permalink) |
| References | (4 earlier) <b16f8242-9836-41e0-80da-40f2d171ef8c@googlegroups.com> <oejcbk$q3k$1@gioia.aioe.org> <b63d7585-f631-47a3-b82b-091c73acaba9@googlegroups.com> <ofasrs$1qd6$1@gioia.aioe.org> <ofc4v0$tro$1@dont-email.me> |
On 5/15/2017 7:55 AM, Martin Gregorie wrote: > I had a brief tussle with JavaScript and gave up on it because: > > 1) I like strongly typed languages because I appreciate the compile-time > error checking that these languages support. I like strongly typed language also (in fact I like those even more strongly typed than Java). But different contexts require different solutions. I don't think it makes sense to require strong typing in all contexts. In fact I am pretty sure that your favorite shell script language is not strong typed. If you want JavaScript with strong typing then use TypeScript, then you can have strong typing (I believe there is a command line option to disable implicit any) and it gets transpiled to regular JavaScript. > At the time I tried it, > JavaScript seemed to have a policy of leaving all error detection until > the flawed statement was actually executed. Of course, this has major > implications for unit test coverage, but somehow I doubt that this is > widely understood. > > Even awk, a traditional UNIX scripting language with a compile-and-go > style of runtime interpreter has always been much better at error > detection than JavaScript was in my experience. I am not a JS guy so I can not offer any advice here. > 2) I learn languages best by reading books but I was utterly unable to > find even a barely adequate book on JavaScript. The O'Reilly book I > eventually ended up with was one of their worst, little more than a > recipe book for JavaScript fragments. It had no satisfactory description > of the language constructs and syntax. Even comp.lang.javascript was > unable to suggest a good book. Given that JavaScript is one of the worlds most widely used languages, then I would have expected there to be some good books. I would definitely look for totally new books. Old books or revisions of old books will probably focus on 00's client side JavaScript code. But again I am not qualified to suggest a specific book. Arne
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Javascript replacing Java? Eric Douglas <e.d.programmer@gmail.com> - 2017-05-03 07:24 -0700
Re: Javascript replacing Java? Arne Vajhøj <arne@vajhoej.dk> - 2017-05-03 10:51 -0400
Re: Javascript replacing Java? Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2017-05-04 05:52 +0800
Re: Javascript replacing Java? Arne Vajhøj <arne@vajhoej.dk> - 2017-05-03 23:14 -0400
Re: Javascript replacing Java? a.laforgia@gmail.com - 2017-05-05 14:44 -0700
Re: Javascript replacing Java? Arne Vajhøj <arne@vajhoej.dk> - 2017-05-05 22:28 -0400
Re: Javascript replacing Java? Martin Gregorie <martin@address-in-sig.invalid> - 2017-05-06 13:25 +0000
Re: Javascript replacing Java? Eric Douglas <e.d.programmer@gmail.com> - 2017-05-08 05:14 -0700
Re: Javascript replacing Java? Martin Gregorie <martin@address-in-sig.invalid> - 2017-05-08 17:58 +0000
Re: Javascript replacing Java? Eric Douglas <e.d.programmer@gmail.com> - 2017-05-08 13:12 -0700
Re: Javascript replacing Java? Martin Gregorie <martin@address-in-sig.invalid> - 2017-05-08 22:23 +0000
Re: Javascript replacing Java? a.laforgia@gmail.com - 2017-05-09 13:41 -0700
Re: Javascript replacing Java? Arne Vajhøj <arne@vajhoej.dk> - 2017-05-14 20:30 -0400
Re: Javascript replacing Java? Martin Gregorie <martin@address-in-sig.invalid> - 2017-05-15 11:55 +0000
Re: Javascript replacing Java? a.laforgia@gmail.com - 2017-05-15 10:46 -0700
Re: Javascript replacing Java? Martin Gregorie <martin@address-in-sig.invalid> - 2017-05-15 19:49 +0000
Re: Javascript replacing Java? Arne Vajhøj <arne@vajhoej.dk> - 2017-05-15 19:08 -0400
Re: Javascript replacing Java? Martin Gregorie <martin@address-in-sig.invalid> - 2017-05-16 10:43 +0000
Re: Javascript replacing Java? Arne Vajhøj <arne@vajhoej.dk> - 2017-05-16 19:14 -0400
Re: Javascript replacing Java? Martin Gregorie <martin@address-in-sig.invalid> - 2017-05-17 00:13 +0000
Re: Javascript replacing Java? Eric Douglas <e.d.programmer@gmail.com> - 2017-05-16 04:58 -0700
Re: Javascript replacing Java? Martin Gregorie <martin@address-in-sig.invalid> - 2017-05-16 12:23 +0000
Re: Javascript replacing Java? Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-05-16 10:46 -0400
Re: Javascript replacing Java? Arne Vajhøj <arne@vajhoej.dk> - 2017-05-16 19:17 -0400
Re: Javascript replacing Java? Gene Wirchenko <genew@telus.net> - 2017-05-22 18:17 -0700
Re: Javascript replacing Java? Eric Douglas <e.d.programmer@gmail.com> - 2017-05-16 07:51 -0700
Re: Javascript replacing Java? a.laforgia@gmail.com - 2017-05-15 10:44 -0700
Re: Javascript replacing Java? Joshua Cranmer 🐧 <Pidgeot18@verizon.invalid> - 2017-05-15 15:07 -0500
Re: Javascript replacing Java? lewbloch@gmail.com - 2017-05-15 13:30 -0700
csiph-web