Scripting News: Friday, October 13, 2023

Today's Song: New Amsterdam.#
New this.how piece on integrity, excerpted from a 2001 piece.#
Example of a FeedLand news product from developer friends at Automattic. #
Just listened to an hour of McCartney on Apple Music, and I love his stuff, but the best songs he did were collaborations with the rest of the band. No one of them had the magic, it was all of them. Take a minute and listen to Lady Madonna. Lennon says he didn't like it, but I can hear him in it. It's got the edge that McCartney alone doesn't have. Compare it to Maybe I'm Amazed, the first song that the bot picked. It's like listening to part of one channel of a Beatles song. #
Factoring is when you recognize a pattern in your programming that has meaning, so you make it possible to invoke the pattern more simply, making the intent of the code more obvious, reducing opportunities for error, make it possible to build more complex programs. It is not factoring if you replace a pattern with another equally complicated pattern. Factoring is why the software you make in 2023 should be more powerful than the software you did in 2013 and 2003. Factoring happens slowly, usually. Sometimes factoring happens in a moment, when you realize how to reduce something by making a small change somewhere else. Edit This Page was one of those. #
A great example of factoring is the forEach function in JavaScript. There was a pattern, a for loop that iterated over an array with an index. They took out the index and did the iterating for you. It's a small simplification, and I smile every time I use it because the got rid of a little drudge work for me when entering it and reading the code. In no way a big deal, but nice that they found a way to make things easier and faster. I asked ChatGPT why forEach is so great, but they use other "advances" in JavaScript that I consider unnecessary, not useful, cryptic, and I don't use them. #
I asked ChatGPT for 250 words on factoring. #
I am a big believer in paving cowpaths. I believe in it because I see it everywhere in the evolution of products. Why are the controls of my Tesla Model Y arranged the same way my 1974 Datsun B210 was. #

Linkblog items for the day.

Republicans ramp up search for an escape hatch from speaker chaos. politico.com
The Secrets Hamas Knew About Israel's Military. nytimes.com
Bluesky for Journalists. (Smart. They're pitching directly to journalists, knowing that reporters and sources will likely set the consensus for The Next Twitter. They have the easiest system to use, with a lot of interesting people.) blueskyweb.xyz
WordPress.com Enters the Fediverse with ActivityPub Support. wptavern.com
After troubled start, New York is shaking up its legal marijuana market with new competitors. buffalonews.com
The life and death of a free food fridge: How thoughtless donations and midnight vandalism ruined ours. slate.com
Copyright 1994-2023 Dave Winer.
This email was sent on: 10/14/2023, 12:00:01 AM Eastern.
"You can't lie to a compiler."
This blog has been running for: 29 years, 0 months, 6 days, 9 hours, 0 minutes, 1 second.
How to subscribe. Read on the web. Click here to unsubscribe.

评论

此博客中的热门博文

Scripting News: Tuesday, June 11, 2024

Scripting News: Tuesday, February 13, 2024