Hacker News new | ask | show | jobs
by igouy 2705 days ago
No.

The website front page does not show a Pharo program being invoked from the OS command-line and using stdio.

2 comments

Yes it does. The below is copied from the 'A glimpse of Pharo' section.

""" $ curl https://get.pharo.org | bash $ ./pharo Pharo.image eval "42 factorial" """

Are we to understand that:

— nobody hit the Enter key?

— the program does nothing?

— the program does something but there was no output?

— there was output but not to stdout?

etc etc

From the home page, in the A glimpse of Pharo section:

  $ curl https://get.pharo.org | bash 
  $ ./pharo Pharo.image eval "42 factorial"
Which apparently does nothing.
I got 1405006117752879898543142606244511569936384000000000 on my command line after running those commands.
How many of the programmers you know would be able to glance at the first ten of those digits and be able to say the result was correct?

How many would be able to say that `Hello, world` was correct?

Is that what the website home page shows?
You're really intent on splitting those hairs.
I've learned that a code snippet is not the same as working code.