loop

16
A programming environment supporting a prototype-based introduction to OOP martes 23 de agosto de 2011

Upload: esug

Post on 13-Dec-2014

549 views

Category:

Technology


3 download

DESCRIPTION

ESUG 2011, Edinburgh

TRANSCRIPT

Page 1: LOOP

A programming environment supporting a prototype-based

introduction to OOP

martes 23 de agosto de 2011

Page 2: LOOP

CONTEXT

First OOP course

Previous knowledge in structured programming (PASCAL)

Tight schedule

martes 23 de agosto de 2011

Page 3: LOOP

PROBLEM

Paradigm shift

A lot of new “stuff” to learn in order to get a first working program

martes 23 de agosto de 2011

Page 4: LOOP

EXAMPLE IN JAVA

martes 23 de agosto de 2011

Page 5: LOOP

EXAMPLE IN SMALLTALK

martes 23 de agosto de 2011

Page 6: LOOP

MOTIVATION

Messages

Objects

Rich interaction between them

Polymorphism

Focus on:

martes 23 de agosto de 2011

Page 7: LOOP

SOLUTION

Start with a custom programming environment

Delay the introduction of classes and inheritance

martes 23 de agosto de 2011

Page 8: LOOP

WHAT ABOUT SELF?

martes 23 de agosto de 2011

Page 9: LOOP

WHAT ABOUT SELF?

Traits, prototypes, parent slots, etc.

GUI is not familiar to the students

martes 23 de agosto de 2011

Page 10: LOOP

FEATURES

Definition and usage of objects

Multiple object environments

Live object diagrams

Explicit diferentiation between objects and references

martes 23 de agosto de 2011

Page 11: LOOP

EXAMPLE IN LOOP

martes 23 de agosto de 2011

Page 12: LOOP

TOWARDS CLASSES

self weight: self weight + aThing weight.

>> eat: aThingsaphira

^yearsInThrone * 666

>> weightarthur

^732

>> weightdaisy

martes 23 de agosto de 2011

Page 13: LOOP

TOWARDS CLASSES

self weight: self weight + aThing weight.

>> eat: aThingDragon

^yearsInThrone * 666

>> weightKing

^732

>> weightScottishHairyCow

martes 23 de agosto de 2011

Page 14: LOOP

EXPERIENCE

Quarter Pass Rate

2011 Q1 84,62%

2010 Q2 68,42%

2010 Q1 69,76%

2009 Q2 80,95%

2008 Q2 66,67%

2008 Q1 74,07%

2007 Q2 73,33%

2006 Q2 75,00% 0

20

40

60

80

100

Pass Rate

WITHOUT WITH

martes 23 de agosto de 2011

Page 15: LOOP

CONCLUSIONS

More time for the important concepts

More time for more complex exercises

Concrete to abstract learning path

martes 23 de agosto de 2011

Page 16: LOOP

QUESTIONS

?martes 23 de agosto de 2011