3 ms·
A simple hello-world command-line example may be used to demonstrate: — How to run a Smalltalk source code file as a script — How to use stdio, How to use fil
by igouy 8y ago
A simple hello-world command-line example may be used to demonstrate:
— How to run a Smalltalk source code file as a script
— How to use stdio, How to use file handles
— How to load Smalltalk source code from files, save, deploy , and invoke on remote machines
Until `virtualized` has seen that basic stuff can be done, why should they care?
- goatlover 8y agoBut this is about Pharo, which is a Smalltalk environment, which is different from how most programing languages are used. So starting from those kinds of questions is missing the point, when the focus should first be on seeing what makes a Smalltalk environment different.
- igouy 8y ago> a Smalltalk environment A Smalltalk implementation. > So starting from those kinds of questions is missing the point… The questions `virtualized` asked are simple and clear. Telling `virtualized` that they are missing the point — instead of answering their questions — makes the community seem arrogant.
- goatlover 8y ago> Telling `virtualized` that they are missing the point — instead of answering their questions — makes the community seem arrogant. However, virtualized stated that they gave up after five minutes because they couldn't find a hello world example similar to programming languages they're presumably familiar with, because they didn't want to watch a video or read a book. So explaining that the Smalltalk environment is different, and thus it doesn't make a lot of sense for Pharo's website to advertise with a command line example, is appropriate, since that implementation is GUI-based. It would be akin to complaining about RStudio's site because someone couldn't quickly find how to run a hello world R script from the command line, when RStudio is about the IDE.
- igouy 8y ago> … it doesn't make a lot of sense for Pharo's website to advertise with a command line example… Pharo's website does attempt to "advertise with a command line example" — and then fails to show that the example works. https://news.ycombinator.com/item?id=18971588 https://news.ycombinator.com/item?id=18971588