tuesday nov 6 lecture 16 - york universityjackie/teaching/lectures/2018/f/eecs33… · tuesday nov....
TRANSCRIPT
Tuesday Nov.
6
Lecture 16
- Exam : Sunday Dec.
9 7pm
- Midterm results available this Thursday
- Lab 3 Cprogramming
) marks availableearly Friday
- Project releasedby next Wed
.
( 3 weeks )
Design of a Language Application . Open -Closed Principle
Structure
÷:÷÷÷.
Operations :
a⇒Operations
Structure Operationsprint - prefix Atl open closed
IT
,Lthee¥fxgene - JW
"°dlAtzdosedope
YishaiDesign Pattern : Architecture
addz.ae#234 t
' '
a"
⑦vake:Iw- a
-⇒s¥⇒e⇒÷::c.a¥÷¥÷÷÷e
.
How to Ose Visitors
3oz . accepter , → 2'
tow " " p*ri⇒d.
Visitor Design Pattern : Implementation
I B
Visualizing Line 4 to Line 7 It 2
Executing Composite
add. .
!Ig.pl?::gnsatRm-Y::.glda*ea#i$h7edfadder↳ Y PT of add is
AaHT-
↳
'
¥!"
:d " 2nd dispatch calls "
rise . gold
-
a f's:a%¥÷¥÷: -
.
- ⇒⇐" ".ms#ie@-⇒¥#[email protected]=⇒→
⇒
arise
Visitor Pattern : Open - Closed and Single ChoicePrinciplesClosed Open
\ ,
it
visit - mul visit- and WSH
- matIAddangaageM→" da
+¥Ppa.co.id/A#anwanpeaon?-ssafedsepQsed
few -
ASSEMBLY ⇒ thy part can be
open
Void Safe a Java ? a )
EEEIs-
# Pc points
Void Safe a Java ? a )
→
TOFE?n¥,←#oKull