| Deutsch English Français Italiano |
|
<vo3kc1$3646d$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=C3=B8j?= <arne@vajhoej.dk> Newsgroups: comp.os.vms Subject: Re: basic BASIC question Date: Thu, 6 Feb 2025 19:33:04 -0500 Organization: A noiseless patient Spider Lines: 35 Message-ID: <vo3kc1$3646d$1@dont-email.me> References: <vnipj8$3i2i9$1@dont-email.me> <vnj4pb$3kfrs$1@dont-email.me> <679d180f$0$713$14726298@news.sunsite.dk> <679d18c2$0$713$14726298@news.sunsite.dk> <vnj7or$ga7$3@reader2.panix.com> <vnr1lq$1d7as$1@dont-email.me> <67a4cc2d$0$708$14726298@news.sunsite.dk> <vo38le$34a3i$9@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 07 Feb 2025 01:33:05 +0100 (CET) Injection-Info: dont-email.me; posting-host="b0775602d98a4cfe09b6e7190e1dd29b"; logging-data="3346637"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/pbQ1uHC1HeNz/9gEYHXEZfEF4MYqxV9I=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:KutEsSwxO+fWNWbJEFJtbSiHk1A= In-Reply-To: <vo38le$34a3i$9@dont-email.me> Content-Language: en-US Bytes: 2786 On 2/6/2025 4:13 PM, Lawrence D'Oliveiro wrote: > On Thu, 6 Feb 2025 09:50:21 -0500, Arne Vajhøj wrote: >> Small code bases, frequent releases and high user tolerance for small >> ooopses favor a language like JavaScript. Ada would not work well in >> this context from a business perspective. > > JavaScript is also a dynamic language, unlike Ada. Maybe not as dynamic as > Python, but still lets you do a lot in quite compact code. > > I’m not sure I agree with the “tolerance for small ooopses”. There is a > thing called “use strict”, which helps catch common JavaScript errors. It > is even enforced in new-style modules. If a web page gives an error, then users try to ignore it, try with another browser and worst case just try again next day - and nobody is really surprised. If airplane control software has an error that cause a crash and kill hundreds of people, then it makes world wide headlines. >> Code bases are not small anymore though. And TypeScript has taken huge >> chunks of market share from JavaScript in recent years. > > TypeScript is just an attempt to add static typing to JavaScript. Maybe it > works for native-side code bases (i.e. not in a browser sandbox). I don't think the word *just* in "just an attempt to add static typing" is a fair description. It does add optional static typing, but that enables a lot of things that impact how code is written: different way to do OO, generics, enum etc.. It is a significant change. Arne