Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Pharo is a modern open-source development environment for the classic Smalltalk-80 programming language. This book, intended for both students and developers, will guide you gently through the language and tools by means of a series of examples and exercises. We are making this book available to you under the Creative Commons Attribution-ShareAlike 3.0 license. You can either download the PDF for free from PharoByExample.org, or you can buy a softcover copy from lulu.com. (You can also pay for the PDF download from lulu.com, if you would like to make a contribution to this effort.) Additional material is available from the. | Pharo by Example Andrew P. Black Stéphane Ducasse Oscar Nierstrasz Damien Pollet with Damien Cassou and Marcus Denker Version of 2009-10-28 ii This book is available as a free download from http PharoByExample.org. Copyright 2007 2008 2009 by Andrew P Black Stéphane Ducasse Oscar Nierstrasz and Damien Pollet. The contents of this book are protected under Creative Commons Attribution-ShareAlike 3.0 Unported license. You are free to Share to copy distribute and transmit the work to Remix to adapt the work Under the following conditions Attribution. 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 . Share 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. For 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 creativecommons.org licenses by-sa 3.0 Any 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. Your fair dealing and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code the full license creativecommons.org licenses by-sa 3.0 legalcode Published by Square Bracket Associates Switzerland. http SquareBracketAssociates.org ISBN 978-3-9523341-4-0 First Edition October 2009. Cover art by Samuel Morello. Contents Preface ix I Getting Started 1 A quick tour of Pharo 3 1.1 Getting started. 3 1.2 The World menu. 7 1.3 Sending messages. 8 1.4 Saving quitting and restarting a Pharo session. 9 1.5 Workspaces and Transcripts.11 1.6 Keyboard shortcuts.12 1.7 The Class Browser . 15 1.8 Finding classes . 16 1.9 Finding methods . . . . . . . . . . . . . . 18 1.10 Defining a new method.20 1.11 Chapter summary . 25 2 A first application 27 .