Scripted Components
- Dr. James A. Bednar
jbednar@inf.ed.ac.uk http://homepages.inf.ed.ac.uk/jbednar
SAPM Spring 2012: Scripted Components 1
Scripted Components Dr. James A. Bednar jbednar@inf.ed.ac.uk - - PowerPoint PPT Presentation
Scripted Components Dr. James A. Bednar jbednar@inf.ed.ac.uk http://homepages.inf.ed.ac.uk/jbednar SAPM Spring 2012: Scripted Components 1 Scripted Components: Problem (Cf. Reuse-Oriented Development; Sommerville 2004 Chapter 4, 18) A
SAPM Spring 2012: Scripted Components 1
SAPM Spring 2012: Scripted Components 2
SAPM Spring 2012: Scripted Components 3
SAPM Spring 2012: Scripted Components 4
Type of each object not usually stored in executable (C, Java)
Each object stores its type (Python, LISP)
(e.g. 3+“5”=error; C++, Python, ML, Haskell)
(e.g. 3+“5”=“35”, JavaScript; or 3+“5”= 8, PHP , Perl5, Tcl)
SAPM Spring 2012: Scripted Components 5
(checkable at compile time; C++ (except templates), Java)
(Haskell)
(C++ templates (e.g. iterators and pointers), Python, Ruby)
SAPM Spring 2012: Scripted Components 6
SAPM Spring 2012: Scripted Components 7
SAPM Spring 2012: Scripted Components 8
SAPM Spring 2012: Scripted Components 9
SAPM Spring 2012: Scripted Components 10
SAPM Spring 2012: Scripted Components 11
SAPM Spring 2012: Scripted Components 12
SAPM Spring 2012: Scripted Components 13
SAPM Spring 2012: Scripted Components 14
SAPM Spring 2012: Scripted Components 15
SAPM Spring 2012: Scripted Components 16
SAPM Spring 2012: Scripted Components 17
SAPM Spring 2012: Scripted Components 18
SAPM Spring 2012: Scripted Components 19
SAPM Spring 2012: Scripted Components 20
SAPM Spring 2012: Scripted Components 20