Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Martin Gregorie Newsgroups: comp.lang.java.programmer Subject: Re: Javascript replacing Java? Date: Tue, 16 May 2017 10:43:49 -0000 (UTC) Organization: A noiseless patient Spider Lines: 29 Message-ID: References: <75947fa8-5d0c-415c-b2f1-78ccd38293a3@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 16 May 2017 10:43:49 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="281cc41370c75acb48b1db4b40fd4b06"; logging-data="31525"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+rBioJRZBzWfpmVDz6nN4JMGqjZqPBP0I=" User-Agent: Pan/0.141 (Tarzan's Death; 168b179 git.gnome.org/pan2) Cancel-Lock: sha1:UoJJ7Ne80SlcNNfhNBxEKeI3Rgc= Xref: csiph.com comp.lang.java.programmer:36630 On Mon, 15 May 2017 19:08:49 -0400, Arne Vajhøj wrote: > In fact I am pretty sure that your favorite shell script language is not > strong typed. > Thats a fair point, but when you look a bit closer, you soon see that it is really only using String variables. Sure, some (process exit codes) are ints but nobody dies anything but comparisons with them so there would be little difference if they were actually strings. Yes, you can do arithmetic in a shell script, but to do that you need to use the expr utility, which is written in C, to evaluate even simple arithmetic or logical expressions and more complex string operations. > But again I am not qualified to suggest a specific book. > Not a problem: I can do everything I need to HTML pages by using only built-in Apache facilities, e.g. password-protected pages. If I need dynamically generated pages PHP does it very nicely. My heavy lifting (autogeneration/regeneration of thumbnails for photo albums) is a Java application run as a cron job. Both these have been running for some years. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |