Live data from Hacker News

Pharo 11

pharo.org

41–50 of 189 posts

Re: Pharo 11

#41

My first time seeing Pharo. First impressions are that it reminds me strongly of Smalltalk with the single-source IDE and runtime. Not a bad thing, just an observation.

I believe Pharo evolved from Squeak SmallTalk. I'm not sure if they started calling it a new language because of the number of extensions on top of SmallTalk-80 or if they introduced any breaking changes from SmallTalk-80, or if they just didn't want to be bound to strict conformance going forward.

Re: Pharo 11

#42
post #17
post #12

Earlier quoted context omitted.

Very cool. Smalltalk is one of those "I'd like to learn" languages for me.

it would take you about half an hour. absolute minimal syntax and fairly obvious semantics. of course, learning how to use it properly might take a little longer :-)

I disagree with this.

You need to know more method signatures to write any program in it. For example things like: someCollection do: [ :someArgument | "some code" ]. Stuff like that. It's still a lot less than most languages though.

I found that this really helps [1] and I find it more representative of how difficult the language actually is. The postcard example is a bit contrived.

[1] https://gist.github.com/jdevoo/8e8866cd6087e05790841d0f20b2e...

Re: Pharo 11

#43
post #14

I used Pharo in my Object Oriented course at the Univeristy (for my CS degree) and I was really surprised for this paradigm. We saw Haskell and Pharo and I was really happy to discover new things from a language point of view. It is hard to say that Java or any other imperative language is OO after seeing Smalltalk/Pharo. About the question if it's used in production, the teacher for that segment of the course was a…

> It is hard to say that Java or any other imperative language is OO after seeing Smalltalk/Pharo.

This.

It so frustrates me to see people trash talk on "OOP" in HN and other forums, where I know people never really got to really realize what it could really be about. Just hacky approximations.

I'm sure that functional silver bullet will avoid this cycle some how. /s

Re: Pharo 11

#44

As a rails developer - my introduction to Pharo started with this video: https://youtu.be/HOuZyOKa91o If you're not a ruby/rails developer you can still see how awesome it is, but for rubyists specifically it can really be quite mind blowing.

I feel anxious looking at the multitude of windows. Do you get used to it?

Re: Pharo 11

#45
I got curious, downloaded and installed it on my computer. Checked the docs, and the next step was to download a stable image. Downloaded 11 (stable) and started it. Then blank stare to screen! What should I do? Lots of things to click on, and no text editor..

Searched for a tutorial on the website, and found nothing! I don't want to spend 30 minutes to look at some random videos of Virtual Reality in Thames or whatever, or read "Pharo for Rubyists" (I use mostly Python). I just wanted to explore a bit, and maybe if it seemed interesting, tomorrow I would continue exploring it. But now I've deleted Pharo!

Warning to other project maintainers: just show a tutorial, or an hands-on doc, so that newcomers may get a feeling of what it is. This is especially important for relatively unknown projects like this.

Some projects that have done it right:

  - https://www.djangoproject.com/start/
  - https://go.dev/ (Search for Try Go in the main page)
  - https://www.python.org/ (Carrousel showing some aspects of the language)
  - https://play.rust-lang.org/?version=stable&mode=debug&edition=2021
  - others I can't remember now..

Re: Pharo 11

#46
post #14

I used Pharo in my Object Oriented course at the Univeristy (for my CS degree) and I was really surprised for this paradigm. We saw Haskell and Pharo and I was really happy to discover new things from a language point of view. It is hard to say that Java or any other imperative language is OO after seeing Smalltalk/Pharo. About the question if it's used in production, the teacher for that segment of the course was a…

I'd be interested in some of these industry use case stories if you could share something.

Most of them were financial industries, and a gov body in charge of tax processing and that stuff.

Re: Pharo 11

#47
post #21
post #14

I used Pharo in my Object Oriented course at the Univeristy (for my CS degree) and I was really surprised for this paradigm. We saw Haskell and Pharo and I was really happy to discover new things from a language point of view. It is hard to say that Java or any other imperative language is OO after seeing Smalltalk/Pharo. About the question if it's used in production, the teacher for that segment of the course was a…

What book did you use?

I don't remember using a book for this part of the course.

Re: Pharo 11

#48
post #14

I used Pharo in my Object Oriented course at the Univeristy (for my CS degree) and I was really surprised for this paradigm. We saw Haskell and Pharo and I was really happy to discover new things from a language point of view. It is hard to say that Java or any other imperative language is OO after seeing Smalltalk/Pharo. About the question if it's used in production, the teacher for that segment of the course was a…

I'd be interested in some of these industry use case stories if you could share something.

They have an extensive list at https://pharo.org/success/.

Re: Pharo 11

#49

Earlier quoted context omitted.

I switched from Ruby to Smalltalk in 2008 for this specific reason.

Do you actually work in smalltalk or is it just your hobby language of choice?

I wrote my Bachelor and Master thesis with it. I thought about working at HRWorks, but then decided to do Python and now TypeScript. I'm learning Rust now, just because how the closures look a bit similar to Smalltalk since I miss it so much.
Post reply on HN