LOOP

862 views

Published on

ESUG 2011, Edinburgh

Published in: Technology, Health & Medicine
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
862
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

LOOP

  1. 1. A programming environment supporting a prototype-based introduction to OOPmartes 23 de agosto de 2011
  2. 2. CONTEXT First OOP course Previous knowledge in structured programming (PASCAL) Tight schedulemartes 23 de agosto de 2011
  3. 3. PROBLEM Paradigm shift A lot of new “stuff” to learn in order to get a first working programmartes 23 de agosto de 2011
  4. 4. EXAMPLE IN JAVAmartes 23 de agosto de 2011
  5. 5. EXAMPLE IN SMALLTALKmartes 23 de agosto de 2011
  6. 6. MOTIVATION Focus on: Messages Objects Rich interaction between them Polymorphismmartes 23 de agosto de 2011
  7. 7. SOLUTION Start with a custom programming environment Delay the introduction of classes and inheritancemartes 23 de agosto de 2011
  8. 8. WHAT ABOUT SELF?martes 23 de agosto de 2011
  9. 9. WHAT ABOUT SELF? Traits, prototypes, parent slots, etc. GUI is not familiar to the studentsmartes 23 de agosto de 2011
  10. 10. FEATURES Definition and usage of objects Multiple object environments Live object diagrams Explicit diferentiation between objects and referencesmartes 23 de agosto de 2011
  11. 11. EXAMPLE IN LOOPmartes 23 de agosto de 2011
  12. 12. TOWARDS CLASSES saphira >> eat: aThing self weight: self weight + aThing weight. arthur >> weight ^yearsInThrone * 666 daisy >> weight ^732martes 23 de agosto de 2011
  13. 13. TOWARDS CLASSES Dragon >> eat: aThing self weight: self weight + aThing weight. King >> weight ^yearsInThrone * 666 ScottishHairyCow >> weight ^732martes 23 de agosto de 2011
  14. 14. EXPERIENCE WITHOUT WITH Quarter Pass Rate 100 2011 Q1 84,62% 2010 Q2 68,42% 80 2010 Q1 69,76% 60 2009 Q2 80,95% 2008 Q2 66,67% 40 2008 Q1 74,07% 20 2007 Q2 73,33% 2006 Q2 75,00% 0 Pass Ratemartes 23 de agosto de 2011
  15. 15. CONCLUSIONS More time for the important concepts More time for more complex exercises Concrete to abstract learning pathmartes 23 de agosto de 2011
  16. 16. QUESTIONS ?martes 23 de agosto de 2011

×