Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

3 - OOP - Squeak

1,142 views

Published on

Published in: Education, Technology
  • Be the first to comment

  • Be the first to like this

3 - OOP - Squeak

  1. 1. S.Ducasse 1 QuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture. Stéphane Ducasse Stephane.Ducasse@univ-savoie.fr http://www.listic.univ-savoie.fr/~ducasse/ The Squeak Environment
  2. 2. S.Ducasse 2 License: CC-Attribution-ShareAlike 2.0 http://creativecommons.org/licenses/by-sa/2.0/
  3. 3. S.Ducasse 3 Smalltalk Run-Time Architecture • Virtual Machine + Image + Changes and Sources • Image = bytecodes • Sources and changes = code (text) A bytethe vir IMAGE2IMAGE2StandShar IMAGE1.IMAGE1. All the objeat a momen One per us +
  4. 4. S.Ducasse 4 Runtime Architecture • The byte-code is in fact translated into native code by a just-in-time compiler. • The source and the changes are not necessary for interpreting the byte-code, this is just for the development. Normally they are removed for deployment. • An application can be delivered as some byte-code files that will be executed with aVM.The development image is stripped to remove the unnecessary development components.
  5. 5. S.Ducasse 5 Mouse Semantics SelectOperatWinRed BlueYellow
  6. 6. S.Ducasse 6 World Menu and Open Menu
  7. 7. S.Ducasse 7 Browsing a class
  8. 8. S.Ducasse 8 Browsing methods
  9. 9. S.Ducasse 9 Inspector • To look inside objects • Violates encapsulation!!! • Monster new inspect
  10. 10. S.Ducasse 10 Direct Manipulation • Bring the halo • Experiment
  11. 11. S.Ducasse 11 Debugger?
  12. 12. S.Ducasse 12 Debugger !!!
  13. 13. S.Ducasse 13 FileList
  14. 14. S.Ducasse 14 Message Names Finder
  15. 15. S.Ducasse 15
  16. 16. S.Ducasse 16 Methods in ChangeSets +Versions
  17. 17. S.Ducasse 17 Preferences
  18. 18. S.Ducasse 18 SUnit
  19. 19. S.Ducasse 19 Transcript is Sloooooooooooow 19
  20. 20. S.Ducasse 20 Squeak Map Package Loader
  21. 21. S.Ducasse 21 Monticello
  22. 22. S.Ducasse 22 Monticello Change Browser
  23. 23. S.Ducasse 23 Repository
  24. 24. S.Ducasse 24 SqueakSource 24
  25. 25. S.Ducasse 25 Changes Menu…Recently logged files • Everything you do is recorded
  26. 26. S.Ducasse 26 ChangeSorter: to sort your changes
  27. 27. S.Ducasse 27 Cool Packages to Load Shout Refactoring Browser eCompletion
  28. 28. S.Ducasse 28 Change your Mind Everything you do is recorded !! So try and learn how to recover your code You are smart so Experiment, Learn for you, browse, educate your taste (not all Squeak code is good) Be aggressive, ***all*** the code is there

×