On Tue, Jun 17, 2014 at 12:32 AM, Yuriy Tymchuk <yuriy.tymchuk@me.com> wrote:
Now, who is creative enough to add ���dynamic array��� (one with curly braces) and temporaries in a block to the original thing:

Don't forget a block array literal, a pragma, a long binary selector and thisContext. ��Personally I don't like "(each class name)". ��It implies one always has to parenthesize unary message sequences. ��The first isn't so good either since it isn't necessary. ��Why not��true & (false not & nil isNil) ?

exampleWithNumber: x
    | y |
    true & false not & (nil isNil) ifFalse: [self halt].
    y := self size + super size.
    #($a #a "a" 1 1.0)
        do: [ :each |
            Transcript show: (each class name);
                       show: ' '].
    ^x < y


Uko

On 16 Jun 2014, at 15:35, Oscar Nierstrasz <oscar.nierstrasz@gmail.com> wrote:


I got it from Stef, who always said it came originally from Ralph Johnson.

http://c2.com/cgi-bin/wiki?SmalltalkSyntaxInaPostcard

Googling around finds various copies of this, but no original source.

Oscar

On 16 Jun 2014, at 10:58 , Yuriy Tymchuk <yuriy.tymchuk@me.com> wrote:

I guess it���s here: http://files.pharo.org/media/flyer-cheat-sheet.pdf

I think that it would be interesting to put the syntax on a postcard. It can work as a proof of concept, some addition cheat-sheet for newcomers and also as some king of souvenir.

Uko

On 16 Jun 2014, at 10:36, stepharo <stepharo@free.fr> wrote:

you have the flyer of Damien (no idea where it is) but no real postcard.

Stef

On 16/6/14 09:35, Yuriy Tymchuk wrote:
Hi guys,

we all are talking about the syntax fitting in a postcard, but was there any real postcard with Pharo syntax prototype? This would be really interesting.

Uko












--
best,
Eliot