Hacker News new | ask | show | jobs
by igouy 2705 days ago
> I just want a "hello world" example to get an idea what I am actually dealing with.

iirc something like —

    FileStream stdout nextPutAll: 'Hello, world'; cr.
1 comments

You can do something like: `Stdio stdout nextPutAll: 'Hello, World!'.`
Are you suggesting that `FileStream stdout` doesn't work, or that using `Stdio stdout` is in some way better, or that `nextPutAll:` will add a newline, or that … ?
I think `FileStream` is deprecated in the new version of Pharo.
Thanks.