Cuomo says the NYC subway is visibly cleaner. Is it? #
I haven’t had any interaction on my Facebook posts in the last week. No comments, no likes, nada. It’s like it just ended. The people are gone, or Facebook algorithm isn’t showing anyone my posts. Meanwhile it’s rock and roll on twitter and on my blog. Later: Well it turns out, I have been posting mostly-private messages on Facebook since May 23. Not sure how it happened but only a few people were seeing them. I just posted something public and it's as if the lights turned back on. Now I'm going back through the last months' posts and changing the privacy setting on them. Whew. #
Driving on the Masspike yesterday, going west, listening to the audiobook of the People's History, when a phone call comes in. Looks like spam so I don't answer. Then the car's audio, coming from my fully updated iPhone XS Max, via CarPlay switches over to the Podcast app, and plays an episode of The Daily podcast, an episode I didn't want listen to, and there's nothing I can do until I can stop the car and reactivate the Audible app, about 15 miles of driving. To be very clear, it should have resumed the book, which was interrupted, not start a podcast. This is the kind of software lunacy that never gets fixed. Next year they'll revamp the OS of the car, or the phone, or switch the processor, or get rid of iTunes or Cookie Dough or whatever, and more stuff will break, and the process will continue next year and the year after, and it will not have been worth it. At some point some adult will run Apple, someone who can't be bluffed on software, will tell the engineers to shut up and eat your vegetables, you can watch TV when you finish your homework. It's an analogy. You can figure it out. 🚀#
First what is JavaScript. Let's make a list of things it is. #
It's a single syntax that works in the browser and on the server. A lot of the built-in routines work in both place.#
It's a vastly too-hard-to-learn language, but it's what we got. #
If you were going to design one language that everything should be translated to, it would never be JavaScript, but once again, it's what we got. #
Every toolkit shows up as a package in the server runtime for JavaScript. It's the default platform. If you want to write software that integrates lots of back end services, JS is your best choice. #
It was created by the immediate competitive need of Netscape's visionary, and a future venture capitalist, combined with the longevity of a standard syntax that has grown a lot especially in the last couple of years. #
In most of the answers to What Is It? you could summarize it by saying Worse Is Better. In every category, given a choice between elegance and simplicity, performance and ease of use, JavaScript picks the worst of the options. And since worse is better, that's good! That's why it wins. It doesn't worry about being better, does it work, if so, let's use it and go forward. #
Let's go back to the beginning when Marc Andreessen didn't (presumably) want Java to run away with the web. That's the position Java had, and they were pressuring Netscape to bundle it with the browser, and he didn't want to do it, but he had to have something to put in his place. Pretty sure that's why he asked Brendan Eich to write it, the legendary 10-day project. So what was that product? Maybe that should be the name? #
Even though they weren't thinking of server-side language that JS would become, really JS is the language of the web. That idea fits both the original vision and the current use. #
But that's not really a product name: Language Of The Web. LOTW. Nah doesn't really live well in the mind. #
I would have just called it Netscape. It's so central to everything the company was doing, you could have said -- this is the reason we created the company. The web is the UI, and that's important, but the real power is the network behind it, and that network is defined by the language, and this here is the language. It would have given Java a run for the money, probably would have pushed it closer to Microsoft (that's a whole other story) but long term, it would have worked. #
BTW all that's left of Netscape today is -- JavaScript.#
They didn't do it then, but you could do it now and it would be cool and fun, historic, respectful and something people would talk about. #
Last update: Wednesday June 24, 2020; 3:54 PM EDT.
You know those obnoxious sites that pop up dialogs when they think you're about to leave, asking you to subscribe to their email newsletter? Well that won't do for Scripting News readers who are a discerning lot, very loyal, but that wouldn't last long if I did rude stuff like that. So here I am at the bottom of the page quietly encouraging you to sign up for the nightly email. It's got everything from the previous day on Scripting, plus the contents of the linkblog and who knows what else we'll get in there. People really love it. I wish I had done it sooner. And every email has an unsub link so if you want to get out, you can, easily -- no questions asked, and no follow-ups. Go ahead and do it, you won't be sorry! :-)