Squeak
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology > Computer programming / software engineering > Squeak: Learn Programming with Robots
Squeak: Learn Programming with Robots

Squeak: Learn Programming with Robots


     0     
5
4
3
2
1



Available


X
About the Book

Are you completely new to programming? Do you want to have fun learning to program? Squeak: Learn Programming with Robots will teach you core programming concepts based on simple, visual problems that involve manipulation of robots, or "turtles." You will learn basic programming concepts like loops, abstractions, composition, and conditionals. Each chapter is structured so that it can be turned into a one- or two-hour lab session. And while the structured content explains solid principles of object-oriented programming, you'll just have fun going through the sequence of easy examples with the turtle. And be sure to check out BotsInc, the companion learning environment for this book.

Table of Contents:
Squeak Learn Programming with Robots STEPHANE DUCASSE Squeak: Learn Programming with Robots Copyright (c) 2005 by Stephane Ducasse Lead Editor: Jonathan Hassell Editorial Board: Steve Anglin, Dan Appleman, Ewan Buckingham, Gary Cornell, Tony Davis, Jason Gilmore, Jonathan Hassell, Chris Mills, Dominic Shakeshaft, Jim Sumser Assistant Publisher: Grace Wong Project Manager: Kylie Johnston Copy Manager: Nicole LeClerc Copy Editor: David Kramer Production Manager: Kari Brooks-Copony Production Editor: Kelly Winquist Compositor: Diana Van Winkle, Van Winkle Design Group Proofreader: Elizabeth Berry Indexer: Valerie Perry Artist: Diana Van Winkle, Van Winkle Design Group Cover Designer: Kurt Krames Manufacturing Manager: Tom Debolski Library of Congress Cataloging-in-Publication Data Ducasse, Stephane. Squeak : learn programming with robots / Stephane Ducasse. p. cm. ISBN 1-59059-491-6 1. Robots--Programming. I. Title. TJ211.45.D83 2005 629.8'925117--dc22 2005013248 All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1 Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. Distributed to the book trade in the United States by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor, New York, NY 10013, and outside the United States by Springer-Verlag GmbH & Co. KG, Tiergartenstr. 17, 69112 Heidelberg, Germany. In the United States: phone 1-800-SPRINGER, fax 201-348-4505, e-mail orders@springer-ny.com, or visit http://www.springer-ny.com. Outside the United States: fax +49 6221 345229, e-mail orders@springer.de, or visit http://www.springer.de. For information on translations, please contact Apress directly at 2560 Ninth Street, Suite 219, Berkeley, CA 94710. Phone 510-549-5930, fax 510-549-5939, e-mail info@apress.com, or visit http://www.apress.com. The information in this book is distributed on an as is basis, without warranty. Although every precaution has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in this work. The source code for this book is available to readers at http://www.apress.com in the Downloads section. iv Contents at a Glance Foreword... xvii About the Author... xxiii Acknowledgments ... xxv Preface ... xxvii PART 1 ■ ■ ■ Getting Started ■CHAPTER 1 Installation and Creating a Robot... 3 ■CHAPTER 2 A First Script and Its Implications ... 13 ■CHAPTER 3 Of Robots and Men ... 29 ■CHAPTER 4 Directions and Angles... 37 ■CHAPTER 5 Pica s Environment ... 51 ■CHAPTER 6 Fun with Robots ... 61 PART 2 ■ ■ ■ Elementary Programming Concepts ■CHAPTER 7 Looping ... 77 ■CHAPTER 8 Variables ... 87 ■CHAPTER 9 Digging Deeper into Variables ... 101 ■CHAPTER 10 Loops and Variables ... 109 ■CHAPTER 11 Composing Messages ... 119 PART 3 ■ ■ ■ Bringing Abstraction into Play ■CHAPTER 12 Methods: Named Message Sequences ... 135 ■CHAPTER 13 Combining Methods ... 149 ■CHAPTER 14 Parameters and Arguments ... 155 ■CHAPTER 15 Errors and Debugging ... 167 ■CHAPTER 16 Decomposing to Recompose ... 183 ■CHAPTER 17 Strings, and Tools for Understanding Programs ... 197 CONTENTS AT A GLANCE v PART 4 ■ ■ ■ Conditionals ■CHAPTER 18 Conditions... 209 ■CHAPTER 19 Conditional Loops ... 221 ■CHAPTER 20 Boolean and Boolean Expressions... 233 ■CHAPTER 21 Coordinates, Points, and Absolute Moves ... 243 ■CHAPTER 22 Advanced Robot Behavior ... 261 ■CHAPTER 23 Simulating Animal Behavior ... 269 PART 5 ■ ■ ■ Other Squeak Worlds ■CHAPTER 24 A Tour of eToy ... 289 ■CHAPTER 25 A Tour of Alice ... 315 ■INDEX ... 337

About the Author :
Stephane Ducasse obtained his Ph.D. at the University of Nice-Sophia Antipolis and his habilitation at the University of Paris VI. He was recipient of the SNF 2002 Professeur Boursier Award. He is now a professor at the Universit de Savoie. Ducasse has written several books in French and English. Ducasse's fields of interests include reflective systems design, object-oriented language design, software component composition, application implementation and design, and object-oriented application reengineering. He is the main developer of the Moose reengineering environment. Ducasse also loves programming in Smalltalk and serves as president of the European Smalltalk User Group. He is committed to the Squeak community.


Best Sellers


Product Details
  • ISBN-13: 9781590594919
  • Publisher: Apress
  • Publisher Imprint: Apress
  • Height: 235 mm
  • No of Pages: 384
  • Sub Title: Learn Programming with Robots
  • ISBN-10: 1590594916
  • Publisher Date: 28 Jun 2005
  • Binding: Paperback
  • Language: English
  • Returnable: Y
  • Width: 191 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Squeak: Learn Programming with Robots
Apress -
Squeak: Learn Programming with Robots
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Squeak: Learn Programming with Robots

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!