It's even worse than it appears.
12/28/05: "One way to do something, no matter how flawed that way is, is better than two, no matter how much better the second way is."#
One of the best lines in any movie ever. "You're going to have to answer to the Coca-Cola company." #
Before there was AOC the politician there was AOC the West Village restaurant. I used to live a block away, so I'd go there all the time. A good place to meet for breakfast. I wonder if they're still open with the pandemic.#
Many writers never get to the point.#
  • A situation that comes up a lot in my JavaScript code: #
    • var tvShow = {#
      • id: id,#
      • title: title,#
      • network: network#
      • }#
  • As you type it you think geez there's got to be a better way, and in the new version of JavaScript, there is. #
    • var tvShow = {#
      • id,#
      • title,#
      • network#
      • }#
  • Since usually the only thing you're going to do is pass it off to a subroutine to save it in a file or database, you could do it this way:#
    • saveShow ({id, title, network});#
  • In the old more cumbersome notation you probably wouldn't do this, but now I find I do, esp if there is only one property to initialize. #
  • I guess the bottom line is I don't mind two ways to do something if the new way is a simplified version of the old way. #

© 1994-2020 Dave Winer.

Last update: Wednesday July 22, 2020; 3:23 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! :-)