On Wed, 06 Jan 2021 09:36:10 +0000, The Natural Philosopher wrote:
> On 05/01/2021 22:23, Martin Gregorie wrote:
>> In both languages, context selects the appropriate method
>
> Until it doesn't.
>
> A day wasted debugging JavaScript to ascertain why IE was totally
> different to Firefox.
>
> There was an implicit cast happening in IE which wasn't in Firefox that
> turned a 1 into a "1"..
>
> Context dependency just adds another layer of complexity and a source of
> more bugs
... well, if you use crappy interpreted languages with untyped variables
then you've chosen to accept that sort of thing as normal.
I much prefer strongly typed languages, so the only language I use that
isn't strongly typed is the bash shell script.
--
--
Martin | martin at
Gregorie | gregorie dot org
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|