r/programming • • Jan 22 '19

Pharo 7.0 released!

https://pharo.org/news/pharo7.0-released
378 Upvotes

137 comments sorted by

View all comments

62

u/ivosaurus Jan 22 '19

A glimpse of Pharo

Tells me to run a bash command sourcing code from the internet, doesn't even show me what hello world looks like.

16

u/HiddenKrypt Jan 22 '19

'Hello World'.could be considered a hello world program in Pharo, if you elect to "Print it" instead of "do it". Transcript show: 'Hello World' will write "Hello World" to the transcript, which is a logging feature something like a STDOUT but not really.

The problem here is that Pharo isn't what you think it is. It's not a language, it's an environment. You might as well ask eclipse why they don't have a "Hello World" in their "getting started" (which by the way, starts with downloading and installing eclipse.) The thing is, Pharo is more than an IDE, it's almost it's own whole OS, not just for smalltalk development, but for smalltalk runtimes. People regularly ship smalltalk programs by saving the state of their whole environment and passing that off to customers.

Smalltalk in general is a very different beast than most programmers are used to, especially in the modern environments like Squeak or Pharo.

1

u/FanOfTamago Jan 22 '19

It's not a language

The linked page directly says "Pharo is a pure object-oriented programming language". I mean, come on dude...

8

u/snowe2010 Jan 22 '19

Cherry pick much? holy crap you managed to completely ignore the next 4 words.

Pharo is a pure object-oriented programming language and a powerful environment

Yeah he could have worded that better, but it's like someone saying "the Eiffel Tower isn't a building, it's a monument", well it really is a building, but the point is that it's more than that.

13

u/cjaybo Jan 22 '19

I hate to be a pedant (no I don't) but those are very different statements.

Adding 'and a powerful environment' doesn't change the meaning of the original quote -- it's still literally claiming that Pharo is an 'object-oriented programming language'. That's not cherry picking, it's simply excluding an irrelevant portion of the phrase.

2

u/snowe2010 Jan 22 '19

If you were an actual pedant you would understand that the English language has plenty of constructs besides literal meaning and requires context. It's not literally claiming that, it has a qualifier 'and', which is very relevant. It is cherry picking.

5

u/cjaybo Jan 23 '19

The contents of the statement after the "and" do not contradict or modify the statement before it. Being a 'powerful environment' does not preclude something from being a 'programming language'. Kind of missing the forest for the trees, aren't you?

1

u/snowe2010 Jan 23 '19

No, it precludes is solely from being a programming language. It's not one thing, but two. This is very relevant to what the original poster said, that "its' not a language, it's an environment".

1

u/cjaybo Jan 23 '19

Fucking hell. If there is a lady who is both a nun and a school teacher, and someone says "that lady is not a nun", that person is incorrect. Get it?