Subj : Javascript for dummies like me
To   : Sys64738
From : Nightfox
Date : Sat Dec 11 2021 12:02 am

 Re: Javascript for dummies like me
 By: Sys64738 to Digital Man on Fri Dec 10 2021 10:44 pm

>> And btw, this attribute is not unique to JavaScript. You've heard of
>> the C and C++ programming languages, I'm sure. C and C++, the
>> languages themselves, don't define a standard/universal "print" type
>> function either.

>> There *are* "Standard Runtime Libraries" for the C and C++ which add
>> that functionality (e.g. puts, printf), but they're not part of the
>> core language definition. I've worked professionally on C projects
>> where there was no "print" type functionality at all (we did not use a
>> "standard runtime
>> library", nor was there a console to print to in the execution environment)

Sy> That is odd to me. Even the Eniac and Edvac had the ability to display a
Sy> readout even if it was on punchcards or some other medieval median.

I think the reasoning is that it's possible to write a program for something that doesn't have a console (such as firmware for a device), where there isn't anything to write onto.  The only way to get a message out in that kind of situation would be to send something over a data connection (serial or otherwise).

Nightfox

---
� Synchronet � Digital Distortion: digitaldistortionbbs.com