‹ BackHN Continuity

Thread

Alan Kay: Shannon gave us a way of dealing with noisy channels [video]

151 points · 36 comments · behoove

  1. shevy-java · · focus · HN ↗
    It would have been kind of great to see an OOP language with Alan's design, but with a better syntax. I dislike smalltalk syntax. Barely anyone uses smalltalk today.

    Even then, we'd also have an OOP language to be really really fast. Otherwise people will just use C.

    Java itself is too verbose and has a rather boring OOP model.

    1. jecel · · focus · HN ↗
      You are in luck: Alan Kay's original Smalltalk, also known as Smalltalk-72, doesn't have a syntax but instead allows you to define your own. Each class includes a single method that parses incoming messages however it wants.

      The two problems with this were a lack of performance and the difficulty of understanding other people's code.

      Dan Ingalls looked at the most popular styles people had created in Smalltalk-72 and defined a fixed syntax for Smalltalk-76 with the same flavor. This allowed him to "compile" -76 into bytecodes which would then be executed much faster by an interpreted virtual machine (and years later a JIT compiled one).

      The analogy is putting grass everywhere in a new university campus and after a while seeing where the grass has been trampled and putting concrete sidewalks there.

      For Smalltalk-80 they wanted people to be able to use it on their own computers and not only on the special Xerox PARC ones so the patched the syntax to use ASCII instead of their own character set. That made it uglier, in my opinion.

      I can understand many people not liking the Smalltalk-80 syntax, but we do get some new people to the language every year and quite a few of them find the syntax one of the nicest features.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.