Wait why is the GNU Smalltalk reference documentation written in the first person
https://www.gnu.org/software/smalltalk/manual-base/html_node/Collection.html
Wait why is the GNU Smalltalk reference documentation written in the first person
https://www.gnu.org/software/smalltalk/manual-base/html_node/Collection.html
Are we all, all of our selves, truly abstract? These day-to-day implementations of us no true, direct instances of our selves, our real selves, which at no point actually exist?
Do we all have unimplemented methods - vital to our identity, yet hollow, without form or substance? Promises of identity left unanchored, unspecified, detached and dreamlike?
@mcc here , changed it to third person :
This one is an abstract class. Its instances are collections of objects. This ones subclasses may place some restrictions or add some definitions to how objects are stored and organized; This one says nothing about this. It merely provides some object creation and access routines for general collections of objects
@mcc Don't use GNU Smalltalk. It's not very good. The good free Smalltalk is Squeak or one of its forks (Pharos or Cuis.)
(Sorry if you already know that; I had a NOOOOOOOOOO reaction when I read that.)
@the_wiz Little Smalltalk is a toy and nothing else. I've never gotten it to run a non-trivial program. Its primitives don't sanitize argument types so you can easily trash memory from Smalltalk, and development is done exclusively by launching vi on one method at a time.
GNU Smalltalk lets you use an editor in the usual way, but input files are in the interchange format and syntax errors will break things in hard-to-diagnose ways. I had slightly better luck with it, but Smalltalk is not designed to be developed via the usual editor+textfile process and GST made no accommodations to support that. You're still supposed to use the GUI-based browser/workspace system which, unfortunately, does not exist. It's also slow.
Squeak is the only free Smalltalk I've ever successfully used to do anything useful. It will run headless and I've used it for web apps that way. You could probably also do console I/O, tho you'll need to use the FFI to do it and you'd still need the GUI for development.
Also: first-person class comments are a thing in PARC Smalltalk, presumably because it tries to have a happy-friendly-buddy vibe. One of the big initial use cases for the Alto was to teach children.
@mcc @0xabad1dea should have called it subject oriented programming am I right
(This is a joke about the social construction of subjectivity, if you don’t like Foucault please keep scrolling)
@mcc Early Borland Pascal manual taught you how to program in Pascal and to use the compiler and tools by telling you the story of - i may not have this exactly right - a prospector and his mule named Daisy.
Great literature in the service of revolutionary technology.