On Wed, 06 Jan 2021 18:09:02 +0000, The Natural Philosopher wrote:
> On 06/01/2021 10:43, Martin Gregorie wrote:
>> 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.
>>
> Sadly javaScript is all you get in a browser
>
Fair comment. So far when I've needed dynamic web pages, which isn't
often, PHP has done everything I've needed.
--
--
Martin | martin at
Gregorie | gregorie dot org
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|