Comment

Comment by tom_mellior

So, looking at some examples on rosettacode.org... This is basically a Smalltalk dialect, which is good. But it is also, completely needlessly, a Forth dialect. So instead of Smalltalk's statement separator (the period), you "end" statements by "dropping" some value.

That is, instead of:

    foo doSomeThing.
    bar doSomeOtherThing
you write:

    foo doSomeThing drop bar doSomeOtherThing
Why?

It also has named variables (which some Forth purists don't like), but instead of the reasonable Smalltalk syntax of

    x := baz compute: #something
it uses

    baz compute: #something ->x
for assignment.

Why?

This might eventually turn into a nice programming language, all it needs to do is drop (haha) some of the Forth baggage and admit to itself that its Smalltalk subsystem has everything one needs.

parent tom_mellior 8 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton