What is so special about Smalltalk? - Stack Overflow Yes, Smalltalk is so important you should study it Why? You can understand object-oriented programming in pure, simple form What people forget is that the Smalltalk-80 "Blue Book" has only about 90 pages devoted to the language—the language is just that simple The other 300 pages talk about the predefined class hierarchy, which is a masterpiece of design for a class-based, object-oriented
pharo - How to run an Hello world in smalltalk on Windows using command . . . Let me answer your question by (1) explaining a hello world example in Smalltalk and (2) addressing how to work with images Hello World in Smalltalk Usually, Smalltalk systems come with their own user interface, typically a graphical environment such as Morphic in Squeak or Pharo
Understanding Smalltalk Method Invocation with Multiple Colons I'm currently learning Smalltalk, and I've encountered a behavior that I find puzzling regarding method invocation with multiple colons I understand that colons play a crucial role in specifying m
smalltalk - Using Squeak from a shell - Stack Overflow Can I launch Squeak as a REPL (no GUI), where I can enter and evaluate Smalltalk expressions? I know the default image don't allow this Is there any documentation on how to build a minimum image t
Why ifTrue and ifFalse are not separated by ; in Smalltalk? The problem of many Smalltalk beginners is that they think of ifXXX: as syntax, where it is actually a message send which generates value Also, the semi is not a statement separator as in many previously learned languages, but a sequencing message send construct
smalltalk - Check if an object is an instance of a given class or of a . . . You are right, to check for exact class you use (using identity instead): Usefull is also isKindOf: which tests if instance is a class or subclass of given class: Nicest and most elegant is to write a testing method in superclass and peer classes, then use it like:
if statement - Smalltalk Variadic functions - Stack Overflow Smalltalk's keyword-like syntax for method calls inherently defines the arity of the method There's no rest pattern like in Common Lisp You can of course have a method take a list, like BlockClosure>>valueWithArguments: but that's hardly the same thing You might modify Compiler to support variadic method calls Maybe the call would simply have with: between each of the variables
terminology - What is a Smalltalk image? - Stack Overflow A Smalltalk image is a saved snapshot of the entire Smalltalk system, including all objects, classes, and running state Yes, it’s like serializing the whole runtime so you can stop the system, save it, and later start again exactly where you left off