Subj : Javascript for dummies like me
To   : Sys64738
From : Digital Man
Date : Thu Dec 09 2021 11:57 am

 Re: Javascript for dummies like me
 By: Sys64738 to Digital Man on Wed Dec 08 2021 11:37 pm

>   Re: Javascript for dummies like me
>   By: Digital Man to Sys64738 on Tue Dec 07 2021 12:56:02
>
>  >  > However, it seems that programming has become less uniform and less
>  >  > certain since the years when I was most involved (80's-90's).  The
>  >  > paved roads of years past seem to have not been maintained and people
>  >  > often find themselves cutting their own path to get to where they want
>  >  > to go.
>
>  >  > In your opinion, would that be an accurate assessment?
>
>  > I think the tools are far better and more "paved" than they were in the
>  > '80s and '90s.
>
> No doubt, the tools are far better.  However, there doesn't seem to be as
> much consistency in the syntax of the programming languages that I've
> observed. Such as with "console.print" as an example.  I'm not understanding
> why that command wouldn't be universal and a common command within
> JavaScript.

Because JavaScript was designed without a "console" in mind. Core JavaScript makes no assumptions about the I/O capabilities (screen, file, or otherwise) of the environment in which the script is running.
--
                                           digital man (rob)

Rush quote #53:
He picks up scraps of conversation, radio and radiation .. Digital Man
Norco, CA WX: 53.7�F, 93.0% humidity, 4 mph NNW wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net