Cutting Hacking Breaking from Tradition. © rick duley - edith cowan university - perth wa - 2002 -...

21
Cutting Hacking Breaking from Tradition Breaking from Tradition

Transcript of Cutting Hacking Breaking from Tradition. © rick duley - edith cowan university - perth wa - 2002 -...

Cutting HackingCutting Hacking

Breaking from TraditionBreaking from Tradition

© rick duley - edith cowan university - perth wa - 2002 - #2

TerminologyTerminology

‘‘He’He’, , ‘She’‘She’ etc. generic etc. generic ‘‘Unit’Unit’ : Semester-long : Semester-long

LecturesLectures WorkshopsWorkshops AssignmentsAssignments ExaminationExamination

‘‘Course’ Course’ : collective noun for : collective noun for ‘Units’‘Units’

© rick duley - edith cowan university - perth wa - 2002 - #3

OutlineOutline

Transmission of SE conceptsTransmission of SE concepts Learning a LanguageLearning a Language Current practiceCurrent practice Salient PointsSalient Points PossibilitiesPossibilities

© rick duley - edith cowan university - perth wa - 2002 - #4

Transmission of SE Concepts

Transmission of SE Concepts

Sequence, Selection & IterationSequence, Selection & Iteration Bohm & Jacopini (1966)Bohm & Jacopini (1966)

Subroutines & AbstractionSubroutines & Abstraction Dijkstra (1972)Dijkstra (1972)

Cohesion & CouplingCohesion & Coupling Parnas (1972)Parnas (1972)

© rick duley - edith cowan university - perth wa - 2002 - #5

Transmission of SE Concepts

Transmission of SE Concepts

Modularity & Top-down DesignModularity & Top-down Design Yourdon & Constantine (1979)Yourdon & Constantine (1979)

Encapsulation & Information HidingEncapsulation & Information Hiding Schneider (1991)Schneider (1991)

© rick duley - edith cowan university - perth wa - 2002 - #6

Transmission of SE Concepts

Transmission of SE Concepts

1999 survey at 1999 survey at ECUECU

Red = BeginningRed = Beginning Green = Green =

CompletedCompleted Marks : 0 => 3Marks : 0 => 3 Barely half Barely half

satisfactory on satisfactory on completioncompletion

Comprehension of Sequence, Selection & Iteration

3.002.001.00.00

Cou

nt

16

14

12

10

8

6

4

2

0

Course Level

beginning

completed prog1

© rick duley - edith cowan university - perth wa - 2002 - #7

Transmission of SE Concepts

Transmission of SE Concepts

Why So Low?Why So Low? Concentration on Syntax & SemanticsConcentration on Syntax & Semantics

General practiceGeneral practice VocabularyVocabulary

ISO & IEEE Standards availableISO & IEEE Standards available Teaching an HLLTeaching an HLL

Unit Title Unit Title “Programming Principles”“Programming Principles” Unit taught AdaUnit taught Ada

© rick duley - edith cowan university - perth wa - 2002 - #8

Learning a LanguageLearning a Language

Natural Process Osmotic & Natural Process Osmotic & ConceptualConceptual New word, two hours, ten yearsNew word, two hours, ten years

44,000+ words44,000+ words Only 69 reserved words in AdaOnly 69 reserved words in Ada

Most already contextually familiarMost already contextually familiar Ambiguity, Synonymity, Shades of Ambiguity, Synonymity, Shades of

MeaningMeaning

© rick duley - edith cowan university - perth wa - 2002 - #9

Learning a LanguageLearning a Language

Osmotic ApproachOsmotic Approach ““Where does it hurt?”Where does it hurt?” ““What’s wrong, darling?”What’s wrong, darling?” ““There’s a good girl!”There’s a good girl!” ““I’m proud of you!”I’m proud of you!”

© rick duley - edith cowan university - perth wa - 2002 - #10

Learning a LanguageLearning a Language

Conceptual ApproachConceptual Approach Beautiful sunsetBeautiful sunset

No meteorological modelNo meteorological model Need for wordsNeed for words

Good Rugby Union tackleGood Rugby Union tackle Feel the painFeel the pain Want to describe the tacklerWant to describe the tackler Need for wordsNeed for words

© rick duley - edith cowan university - perth wa - 2002 - #11

Learning a LanguageLearning a Language

CS & (current) SE ApproachCS & (current) SE Approach Syntax & SemanticsSyntax & Semantics

Language Reference ManualLanguage Reference Manual Have words and constructsHave words and constructs

Don’t know what they Don’t know what they dodo Hacking!Hacking!

Anathematic to Software Anathematic to Software EngineeringEngineering

© rick duley - edith cowan university - perth wa - 2002 - #12

Learning a LanguageLearning a Language

Why the Un-natural Approach?Why the Un-natural Approach? Teaching as we were taughtTeaching as we were taught

Background in mathematics or electronic Background in mathematics or electronic engineeringengineering

Legacy techniquesLegacy techniques Preparation in isolationPreparation in isolation

No pool of unit materialNo pool of unit material Reluctance to shareReluctance to share HeroesHeroes

© rick duley - edith cowan university - perth wa - 2002 - #13

Current PracticeCurrent Practice

22 IPUs from 11 Australian 22 IPUs from 11 Australian UniversitiesUniversities Study of Unit OutlinesStudy of Unit Outlines

0%0% Cohesion & CouplingCohesion & Coupling IdentifiersIdentifiers ParametersParameters PseudocodePseudocode

© rick duley - edith cowan university - perth wa - 2002 - #14

Current PracticeCurrent Practice

44%44% Object OrientedObject Oriented

3% mention polymorphism3% mention polymorphism Problem DecompositionProblem Decomposition

41%41% AlgorithmsAlgorithms DesignDesign

© rick duley - edith cowan university - perth wa - 2002 - #15

Current PracticeCurrent Practice

First Three WeeksFirst Three Weeks Unit themes and emphases definedUnit themes and emphases defined Expected some reluctanceExpected some reluctance

1800 RFIs, 8 Responses1800 RFIs, 8 Responses Statistics carry no weightStatistics carry no weight GeneralisationsGeneralisations

© rick duley - edith cowan university - perth wa - 2002 - #16

Current PracticeCurrent Practice

AdministriviaAdministrivia Most used entire first lectureMost used entire first lecture

Weeks two and threeWeeks two and three Syntax and semanticsSyntax and semantics

Concept References Rare and BriefConcept References Rare and Brief No Reference to Language No Reference to Language

Independence in DesignIndependence in Design

© rick duley - edith cowan university - perth wa - 2002 - #17

Salient PointsSalient Points

Fundamental Concepts not Fundamental Concepts not CommunicatedCommunicated

Aims and Intentions HazyAims and Intentions Hazy Administrivia a Time WasterAdministrivia a Time Waster Teach in Un-natural MannerTeach in Un-natural Manner Students Condemned to Students Condemned to HackingHacking

© rick duley - edith cowan university - perth wa - 2002 - #18

PossibilitiesPossibilities

AdministriviaAdministrivia Downloadable documentDownloadable document Returnable affidavitReturnable affidavit

Resource PoolResource Pool No heroesNo heroes New ideasNew ideas Clarification of intentClarification of intent

© rick duley - edith cowan university - perth wa - 2002 - #19

PossibilitiesPossibilities

Workshops => TutorialsWorkshops => Tutorials Language-dependent materialLanguage-dependent material

Natural learning styleNatural learning style Concepts First, OsmoticConcepts First, Osmotic

Syntax and SemanticsSyntax and Semantics Expression of pre-defined ideasExpression of pre-defined ideas

‘‘Cutting Hacking’Cutting Hacking’ Free lectures for SE principles & Free lectures for SE principles &

practicespractices

© rick duley - edith cowan university - perth wa - 2002 - #20

PossibilitiesPossibilities

AdvantagesAdvantages More lecture time for broader coverageMore lecture time for broader coverage

Problem decomposition, design, testingProblem decomposition, design, testing Same lectures, different languagesSame lectures, different languages

One workshop Ada, another JAVAOne workshop Ada, another JAVA Languages now express conceptsLanguages now express concepts

Natural way to learnNatural way to learn Double Your Money – Double Your FunDouble Your Money – Double Your Fun

© rick duley - edith cowan university - perth wa - 2002 - #21

Thanks for ListeningThanks for Listening

Rick [email protected]