Here are some more 

  https://medium.com/concerning-pharo/elegant-pharo-code-bb590f0856d0

Maybe for teaching, the example should somehow be familiar, recognisable.
On the other hand, that might be confusing and lead to too many comparisons.

> On 17 Jun 2015, at 21:53, stepharo <[email protected]> wrote:
> 
> Hi
> 
> For the mooc I have a lecture called Pharo Syntax in a nutshell and I would 
> love to get a couple of simple examples
> that show the syntax but are not totally boring.
> 
> I thought about something like
> 
> 
>    ZnClient new
>        url: 'http://localhost:8080/books/1';
>        formAt: 'author' put: 'SquareBracketAssociates';
>        formAt: 'title'  put: 'Pharo For The Enterprise';
>        put
> 
> 
> 
> Stef
> 


Reply via email to