[{"data":1,"prerenderedAt":266},["ShallowReactive",2],{"family-smalltalk":3,"family-members-smalltalk":225,"family-siblings":240},{"id":4,"title":5,"author":6,"body":7,"description":182,"extension":190,"family":191,"features":192,"homepage":199,"logo":200,"meta":201,"name":5,"navigation":202,"note":203,"path":204,"references":205,"relations":200,"seo":220,"status":221,"stem":222,"urls":200,"year":223,"__hash__":224},"families\u002Ffamilies\u002Fsmalltalk.md","Smalltalk","Alan Kay, Dan Ingalls, Adele Goldberg, and the Xerox PARC team",{"type":8,"value":9,"toc":181},"minimark",[10,15,19,23,66,70,73,150,153,157,160,164,167],[11,12,14],"h2",{"id":13},"overview","Overview",[16,17,18],"p",{},"Smalltalk is an ancestry as much as a language. Kay's Dynabook vision at Xerox\nPARC produced a whole environment — object memory, browser, debugger, compiler —\nin which the boundary between source files and a running program disappeared.\nDescendants inherited the model rather than the syntax, and each reworked a\ndifferent assumption.",[11,20,22],{"id":21},"distinctive-traits","Distinctive traits",[24,25,26,43,46,49,52],"ul",{},[27,28,29,30,34,35,38,39,42],"li",{},"Every operation is a message send. ",[31,32,33],"code",{},"receiver selector arguments"," covers\narithmetic and control flow alike (",[31,36,37],{},"ifTrue:",", ",[31,40,41],{},"whileTrue:","), so the language\nhas almost no special forms and a debugger can step through everything.",[27,44,45],{},"Everything is an object, including classes. A class is an instance of a\nmetaclass, so class-side methods are ordinary methods on an object.",[27,47,48],{},"The image is the program. A system persists as serialized object memory you\nresume, not as a directory of files you compile from scratch.",[27,50,51],{},"The environment is part of the language. Browsers, inspectors, and live\nediting are the primary interface to source, not an accessory to it.",[27,53,54,55,38,58,61,62,65],{},"Closures are blocks passed as arguments. ",[31,56,57],{},"do:",[31,59,60],{},"inject:into:",", and\n",[31,63,64],{},"ifTrue:ifFalse:"," are library methods, not syntax.",[11,67,69],{"id":68},"members-and-what-each-one-changed","Members and what each one changed",[16,71,72],{},"Membership means descent from that model. Every member keeps the\nmessage-passing core and reworks one major assumption:",[74,75,76,92],"table",{},[77,78,79],"thead",{},[80,81,82,86,89],"tr",{},[83,84,85],"th",{},"Language",[83,87,88],{},"Kept",[83,90,91],{},"Changed",[93,94,95,111,125,139],"tbody",{},[80,96,97,105,108],{},[98,99,100,104],"td",{},[101,102,5],"a",{"href":103},"\u002Flanguages\u002Fsmalltalk"," \u002F GNU Smalltalk",[98,106,107],{},"class-based model, image",[98,109,110],{},"— (the reference point)",[80,112,113,119,122],{},[98,114,115],{},[101,116,118],{"href":117},"\u002Flanguages\u002Fself","Self",[98,120,121],{},"message passing, live environment",[98,123,124],{},"classes → prototypes and slots; inheritance becomes object copying plus parent traits",[80,126,127,133,136],{},[98,128,129],{},[101,130,132],{"href":131},"\u002Flanguages\u002Fnewspeak","Newspeak",[98,134,135],{},"message passing, image, live environment",[98,137,138],{},"classes → nested classes as modules; no global namespace, everything late-bound, capability-secure",[80,140,141,144,147],{},[98,142,143],{},"Pharo \u002F Squeak",[98,145,146],{},"the image and the browser",[98,148,149],{},"modernized tooling (Pharo), media and education focus (Squeak)",[16,151,152],{},"Self is the hinge. It deleted the one thing the others treated as essential —\nclasses — and showed that the rest of the model does not depend on them. The\nprototype idea then travelled well beyond Smalltalk: JavaScript's\nprototype-based objects descend from Self, not from Scheme.",[11,154,156],{"id":155},"status","Status",[16,158,159],{},"Active and varied. The image-based style survives in Pharo, Squeak, and\nNewspeak; GNU Smalltalk keeps a file-based workflow for scripting. The\nmessage-passing model itself is mainstream by absorption — almost every object\nsystem adopted it — while the image and the live-environment habits remain\ndistinctive to this lineage.",[11,161,163],{"id":162},"history","History",[16,165,166],{},"Smalltalk-72 was a Xerox PARC research system, and the term \"object-oriented\"\nwas attached to it. Smalltalk-80 — designed for release, with the class library\nand the bytecode virtual machine — is the ancestor every member above works\nfrom, and Ingalls's 1981 BYTE article stated the design principles they argue\nover. Self came out of Sun Microsystems in the late 1980s; Newspeak from\nGilad Bracha's work at SAP Labs in the 2000s.",[168,169,170],"note",{},[16,171,172,173,176,177,180],{},"This page records descent, not features: Smalltalk is an object-oriented\nparadigm member, but so are C++ and Java, which are not in this family. A\nlanguage carries one ",[31,174,175],{},"family"," value and many ",[31,178,179],{},"paradigm"," values on purpose.",{"title":182,"searchDepth":183,"depth":183,"links":184},"",2,[185,186,187,188,189],{"id":13,"depth":183,"text":14},{"id":21,"depth":183,"text":22},{"id":68,"depth":183,"text":69},{"id":155,"depth":183,"text":156},{"id":162,"depth":183,"text":163},"md","smalltalk",[193,194,195,196,197,198],"message-passing","image-based-persistence","live-programming","everything-is-an-object","first-class-classes","blocks-as-closures","https:\u002F\u002Fweb.archive.org\u002Fweb\u002F2019\u002Fhttp:\u002F\u002Fwww.smalltalk.org\u002F",null,{},true,"The Xerox PARC lineage and the archetype of the message-passing object model: every operation is a message send to an object, classes are objects, closures are blocks, and the running system is an editable image rather than a file tree. Self, Newspeak, Squeak, Pharo, and GNU Smalltalk all descend from it.","\u002Ffamilies\u002Fsmalltalk",[206,208,211,214,217],{"url":199,"title":207},"Smalltalk (official site, archived)",{"url":209,"title":210},"https:\u002F\u002Fwww.gnu.org\u002Fsoftware\u002Fsmalltalk\u002Fmanual\u002Fgst.html","GNU Smalltalk manual — language tutorial",{"url":212,"title":213},"https:\u002F\u002Fweb.archive.org\u002Fweb\u002F20120902030025\u002Fhttp:\u002F\u002Fusers.ipa.net\u002F~dwighth\u002Fsmalltalk\u002Fbyte_aug81\u002Fdesign_principles_behind_smalltalk.html","Design Principles Behind Smalltalk — Dan Ingalls, BYTE, August 1981",{"url":215,"title":216},"https:\u002F\u002Fselflanguage.org\u002F","Self — prototype-based successor (Self language site)",{"url":218,"title":219},"https:\u002F\u002Fnewspeaklanguage.org\u002Fspec\u002Fnewspeak-spec.pdf","Newspeak Programming Language Draft Specification, version 0.106",{"title":5,"description":182},"active","families\u002Fsmalltalk",1972,"NklIaWAKTFmSM9k0-OkIBST-EN8D8sDC7n318rpC74s",[226,228,233],{"name":118,"path":117,"logo":227,"year":200,"kind":200,"status":200,"note":200,"paradigms":200,"typing":200},"\u002Flogos\u002Fself.png",{"name":5,"path":103,"logo":200,"year":223,"kind":229,"status":221,"note":200,"paradigms":230,"typing":200},"language",[231,232],"object-oriented","imperative",{"name":132,"path":131,"logo":234,"year":235,"kind":229,"status":221,"note":236,"paradigms":237,"typing":239},"\u002Flogos\u002Fnewspeak.png",2009,"Bracha's live, object-capability language in the Smalltalk and Self tradition: nested classes are modules, every class name is late-bound, and the IDE runs in the browser from a serialized snapshot. Mixins, actors, and an incremental typechecker come with the platform.",[238,231],"modular","dynamic",[241,244,247,250,253,256,259,262,265],{"name":242,"path":243},"ALGOL","\u002Ffamilies\u002Falgol",{"name":245,"path":246},"C","\u002Ffamilies\u002Fc",{"name":248,"path":249},"ECMAScript","\u002Ffamilies\u002Fecmascript",{"name":251,"path":252},"HCL","\u002Ffamilies\u002Fhcl",{"name":254,"path":255},"Lisp","\u002Ffamilies\u002Flisp",{"name":257,"path":258},"ML","\u002Ffamilies\u002Fml",{"name":260,"path":261},"OBJ","\u002Ffamilies\u002Fobj",{"name":263,"path":264},"PL\u002FI","\u002Ffamilies\u002Fpl-i",{"name":5,"path":204},1795219071713]