Earlier quoted context omitted.
Pharo does have commandline functionality, but that won't demonstrate its value as a first experience. For an interactive tutorial... open Pharo, then left-click background, Tools > Playground, type & highlight 'ProStef go', right-click & 'do it'. Then try these one-liners in the Playground... https://medium.com/concerning-pharo/elegant-pharo-code-bb590... . Then (and I know its a video) but maybe serverless PharoLam…
Do you understand that you are not answering `virtualized`s question? The question is not about a Pharo commandline that exists as part of the Pharo GUI. The question is about an OS commandline like "GNOME Terminal" with stdio.
Pharo 7.0 released
101–110 of 236 posts
Re: Pharo 7.0 released
#102Re: Pharo 7.0 released
#103Earlier quoted context omitted.
I looked for any useful documentation for a few minutes and just gave up. I don't want to read a book. I don't want to watch a video. This is not my first programming language, thank you. I just want a "hello world" example to get an idea what I am actually dealing with. How do I run a "hello world" program from the command line? How can I deploy that to another machine that doesn't necessarily have a GUI?
Think Smalltalk is one case where thinking incrementally from what you already know about programming might be doing yourself a disservice.
COMMAND LINE:
/opt/src/vw8.3pul/bin/visual nbody.vw_run.im -nogui -evaluate "BenchmarksGame program" -a 50000000
PROGRAM OUTPUT:
-0.169075164
-0.169059907
https://benchmarksgame-team.pages.debian.net/benchmarksgame/...Re: Pharo 7.0 released
#104Earlier quoted context omitted.
Do you understand that you are not answering `virtualized`s question? The question is not about a Pharo commandline that exists as part of the Pharo GUI. The question is about an OS commandline like "GNOME Terminal" with stdio.
They do. By saying "there is such functionality, but you should try this instead , because using it from commandline won't tell you why this is interesting". Which isn't directly answering the question, but pointing the asker in a good direction.
Re: Pharo 7.0 released
#105"Everything's an object" is object oriented programming done right and I can see why Ruby and other languages used those ideas from Smalltalk. I couldn't understand the fascination with the integrated environments though. It was my biggest stumbling block. Is there a pathway to use Pharo with my traditional tools?
>I couldn't understand the fascination with the integrated environments though. The only thing I can recommend it watching some Alan Kay videos or Pharo demos. Windows and Linux UI conditioned everyone to think of UI as a crutch for incompetent users, rather than a tool useful in its own right. This cannot be undone in a single reply, no matter how elaborate it will be. Traditional tools are definitely more polished…
Re: Pharo 7.0 released
#106I'm going to throw this in here:
"Squeak or Pharo for the beginning Smalltalker?"
https://stackoverflow.com/questions/8426981/squeak-or-pharo-...
And a third option that is much leaner and maybe less overwhelming especially if you are interested in actually learning Smalltalk itself to begin with:
Re: Pharo 7.0 released
#107Earlier quoted context omitted.
> I just want a "hello world" example to get an idea what I am actually dealing with. How do I run a "hello world" program from the command line? The trouble is that what you are dealing with is a graphical interactive programming environment. Sure, you can run it from the command line like /bin/perl, but to understand what you are dealing with you have to open it up and try it on its own terms. If you aren't interes…
>If you aren't interested in a novel immersive programming environment then you can safely ignore Pharo too. I was curious and so downloaded and ran the default image, and I'm beyond captivated by it, but I have to agree that neither the link nor the homepage do a good job of enticing me to do so, or even hinting and what can I expect. If I didn't feel like setting up and checking out random projects I stumble upon,…
Re: Pharo 7.0 released
#108Earlier quoted context omitted.
Development is entirely via the most integrated GUI you've ever experienced. It runs on MacOS, Windows, and Linux. For deployment, you can run it headless. You can also deploy as Javascript for Node/Browsers via a tool called PharoJS ( http://pharojs.org - full disclosure, I'm one of the principals of PharoJS), but it's a work in progress (with a Slack workspace to support it). GNU Smalltalk can deploy to a standard…
I have not looked at Pharo, but the Lisp development environment on my Symbolics computers is amazingly integrated, so this is a very high bar to surpass if true.
Re: Pharo 7.0 released
#109Earlier quoted context omitted.
I looked for any useful documentation for a few minutes and just gave up. I don't want to read a book. I don't want to watch a video. This is not my first programming language, thank you. I just want a "hello world" example to get an idea what I am actually dealing with. How do I run a "hello world" program from the command line? How can I deploy that to another machine that doesn't necessarily have a GUI?
There's literally a command-line example (although it doesn't print Hello world, but the factorial of 42) on their front page. That said, Smalltalk isn't something you use from the commandline typically, or only during deployment or for applying external automation. The GUI environment is fairly key.
The website front page does not show a Pharo program being invoked from the OS command-line and using stdio.
Re: Pharo 7.0 released
#110Earlier quoted context omitted.
> I just want a "hello world" example to get an idea what I am actually dealing with. How do I run a "hello world" program from the command line? The trouble is that what you are dealing with is a graphical interactive programming environment. Sure, you can run it from the command line like /bin/perl, but to understand what you are dealing with you have to open it up and try it on its own terms. If you aren't interes…
>If you aren't interested in a novel immersive programming environment then you can safely ignore Pharo too. I was curious and so downloaded and ran the default image, and I'm beyond captivated by it, but I have to agree that neither the link nor the homepage do a good job of enticing me to do so, or even hinting and what can I expect. If I didn't feel like setting up and checking out random projects I stumble upon,…
Maybe lots of little gifs?