Innovation: Javascript w/o curly braces.

Python doesn’t have curly braces and semicolons because it considers the structure of the source code syntactically significant. We have something similar working with Javascript. Because I edit my code in an outliner, I have the curly braces and semicolons added as the text is generated from the outline. The result is a cleaner looking JS code, and less syntax to worry about.

Here’s a screen shot of what the code looks like w/o the CBASs. And the same code in a web page, after they have been generated. As you can see it’s functional.

This is possible because JS is consistent about its use of structural symbols. And the structure of the language maps well on outline structure. Not perfectly, but enough to make it worth using.

  • The difficult construct is if-then-else. All other statements have a single summit but it has two.

It’s not ready for other people to use yet but it will be soon, Murphy-willing! šŸ™‚

Update: This capability is now available in the worldoutline software, released today.


About Dave Winer

Dave Winer, 54, pioneered the development of weblogs, syndication (RSS), podcasting, outlining, and web content management software; former contributing editor at Wired Magazine, research fellow at Harvard Law School, entrepreneur, and investor in web media companies. A native New Yorker, he received a Master's in Computer Science from the University of Wisconsin, a Bachelor's in Mathematics from Tulane University and currently lives in Berkeley, California.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s