Views : 11,344
Genre: Education
Date of upload: Feb 27, 2023 ^^
Rating : 4.917 (8/377 LTDR)
RYD date created : 2024-04-28T15:42:05.880395Z
See in json
Top Comments of this video!! :3
This is awesome Huw! It's not only a solid foundation in the original concepts of OOP, but also a historical lesson. I'm a fan of Pharo myself which is a fork of Squeak. As an aside, for those that may not know, there are actually two Squeaks - one was actually created to communicate with mice by Rob Pike in 1985. It eventually influenced the concurrency model that made its way into the Go language. The Squeak we're learning here, a SmallTalk derivative, was of course created by the venerable Alan Kay in 1996. 🐭🐭
2 |
Ok so what is the purpose of the messages and why are they different than calling a function. All I can see is that it's just a syntactic difference but it behaves exactly like a normal function or method
Edit: After seeing the conditional statements and loop it seems that you could also pass an arbitrary piece of code as an argument which is then going to be evaluated in the message body. Do I understand it correctly?
|
Seeing the likes of this language and Haskell, C# seems so far behind! Immutable arrays weren't even a thing in C# until recently - they certainly weren't there prior to .NET Core; the closest thing was a ReadOnlyCollection which needed to take in the heavier and resizable List. 21:03 - Small Talk not only has them but they're also a native part of the language (no need to wrap a mutable array inside an immutable one)!
|
6:29 paused to take a sneak peak at the syntax. Ohh. I like ifTrue. Indenting is so much better than curly braces, thumbs up there. Single quote for doc string / comment is a bit weird. But yeah, it's not ugly. Putting the internal classes on display is nice too, much less black box and you can ignore if you don't want to be bothered with it. Yeah, pretty good. Pythonesque frankly. Or I guess python is smalltalkese, this very much came first.
I wonder why it died so completely.
|
@user-dz4nb6hy6r
1 year ago
I'm just trying out Squeak and this is a brilliant no nonsense start for me. There are very few intro's for interacting with the Squeak system, and this got me over the first hurdle.
6 |