[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-605427-105":59,"doc-detail-605427-en":130},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","pharo-by-example-5-learn-pharo-basics-through-guided-examples","Pharo by Example - 5 - Learn Pharo basics through guided examples","","Pharo by Example 5 introduces the Pharo programming environment through a structured learning path: an overview of what Pharo is, guidance on who should read the book, and a quick tour covering installation, launching, the launcher and world menu, messaging, and session workflows. It then builds toward a first hands-on project (Lights Out), teaches syntax essentials, and explains message syntax with practical framing. The book also includes licensing terms and a detailed contents outline.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/pharo-by-example-5-learn-pharo-basics-through-guided-examples/605427/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/pharo-by-example-5-learn-pharo-basics-through-guided-examples/605427.png","ImageObject",300,407,{"name":92,"@type":93},"Connor ","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-10-19","2026-10-16",true,{"@type":102,"interactionType":103,"userInteractionCount":8},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What topics does the book cover in the preface?","Question",{"text":112,"@type":113},"The preface explains what Pharo is, who should read the book, offers advice, and outlines the Pharo community. It also describes how examples and exercises are used, followed by acknowledgments.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does the book approach learning Pharo?",{"text":117,"@type":113},"It combines a quick tour of the environment with a first application, then moves into core syntax concepts. It later focuses on understanding message syntax with clear distinctions and guidance.",{"name":119,"@type":110,"acceptedAnswer":120},"What is the first hands-on application in this book?",{"text":121,"@type":113},"The first application is the Lights Out game, developed through steps such as creating a package, defining classes, adding methods, inspecting objects, and organizing behavior into protocols.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},605427,1792435966,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":8,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":145},687207022233,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","Pharo by Example 5  \nStéphane Ducasse Dimitris Chloupis Nicolai Hess Dmitri Zagidulin  \nJanuary 14, 2017 commit 7a4b6fc*  \nCopyright 2016 by Stéphane Ducasse, Dimitris Chloupis, Nicolai Hess and Dmitri Zagidulin. Copyright 2009 by Andrew P. Black, Stéphane Ducasse, Oscar Nierstrasz, Damien Pollet, Damien Cassou and Marcus Denker. The contents ofthis book are protected under the Creative Commons Attribution-ShareAlike 3.0 Unported license.  \nYou are free:  \n• to Share: to copy, distribute and transmit the work,  \n• to Remix: to adapt the work, Under the following conditions:  \nAttribution. You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work) .  \nShare Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same, similar or a compatible license.  \nFor any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to this web page: [http://creativecommons.org/licenses/by-sa/3.0/](http://creativecommons.org/licenses/by-sa/3.0/)  \nAny of the above conditions can be waived if you get permission from the copyright holder. Nothing in this license impairs or restricts the author’s moral rights.  \nYour fair dealing and other rights are in no way affected by the above. This is a humanreadable summary of the Legal Code (the full license): [http://creativecommons.org/licenses/by-sa/3.0/legalcode](http://creativecommons.org/licenses/by-sa/3.0/legalcode)  \n[ & ]  \n[Published by Lulu.com & Square Bracket Associates](Published by Lulu.com & Square Bracket Associates). [http://squarebracketassociates.org](http://squarebracketassociates.org)  \nISBN 978-1-365-65459-6  \nFirst Edition, January 2017 .  \nBook layout and typography based on the sbabook TEX class by Damien Pollet.  \nContents  \nContents i  \n1 Preface 1  \n1.1 What is Pharo? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1  \n1.2 Who should read this book? . . . . . . . . . . . . . . . . . . . . . . . . . . 2  \n1.3 A word of advice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3  \n1.4 An open book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3  \n1.5 The Pharo community . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3  \n1.6 Examples and exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4  \n1.7 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4  \n1.8 Hyper special acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 4  \n2 A quick tour of Pharo 7  \n2.1 Installing Pharo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7  \n2.2 Pharo: File components . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8  \n2.3 Launching Pharo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9  \n2.4 PharoLauncher . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10  \n2. 5 The World Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11  \n2.6 Sending messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13  \n2.7 Saving, quitting and restarting a Pharo session . . . . . . . . . . . . . . . . 15  \n2.8 Playgrounds and Transcripts . . . . . . . . . . . . . . . . . . . . . . . . . 15  \n2.9 Keyboard shortcuts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16  \n2.10 The System Browser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19  \n2.11 Finding classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22  \n2.12 Finding methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25  \n2.13 Deﬁning a new method . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27  \n2.14 Chapter summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31  \n3 A ﬁrst application 33  \n3.1 The Lights Out game . . . . . . . . . . . . . . . . . . . . ","cbCaijqGlWTYw9eH","https://ap.wps.com/l/cbCaijqGlWTYw9eH","pdf",18149997,358,"English","# Preface\n## What is Pharo?\n## Who should read this book?\n## A word of advice\n## An open book\n## The Pharo community\n## Examples and exercises\n## Acknowledgments\n## Hyper special acknowledgments\n# A quick tour of Pharo\n## Installing Pharo\n## Pharo: File components\n## Launching Pharo\n## PharoLauncher\n## The World Menu\n## Sending messages\n## Saving, quitting and restarting a Pharo session\n## Playgrounds and Transcripts\n## Keyboard shortcuts\n## The System Browser\n## Finding classes\n## Finding methods\n## Defining a new method\n# A first application\n## The Lights Out game\n## Creating a new Package\n## Defining the class LOCell\n## Adding methods to a class\n## Inspecting an object\n## Deﬁning the class LOGame\n## Organizing methods into protocols\n## Finishing the game\n## Let’s try our code\n## Saving and sharing Pharo code\n# Syntax in a nutshell\n## Syntactic elements\n## Pseudo-variables\n## Message sends\n## Method syntax\n## Block syntax\n## Conditionals and loops in a nutshell\n## Primitives and pragmas\n# Understanding message syntax\n## Identifying messages\n## Three types of messages\n## Message composition\n## Hints for identifying keyword messages","[{\"question\":\"What topics does the book cover in the preface?\",\"answer\":\"The preface explains what Pharo is, who should read the book, offers advice, and outlines the Pharo community. It also describes how examples and exercises are used, followed by acknowledgments.\"},{\"question\":\"How does the book approach learning Pharo?\",\"answer\":\"It combines a quick tour of the environment with a first application, then moves into core syntax concepts. It later focuses on understanding message syntax with clear distinctions and guidance.\"},{\"question\":\"What is the first hands-on application in this book?\",\"answer\":\"The first application is the Lights Out game, developed through steps such as creating a package, defining classes, adding methods, inspecting objects, and organizing behavior into protocols.\"}]","Pharo by Example - 5 - Learn Pharo basics through guided examples | PDF",1792132294,902]