informatics 43 – october 7, 2014
DESCRIPTION
Informatics 43 – October 7, 2014. Lecture 1-1 Emily Navarro. Today’s Lecture. Perspectives on software engineering Business Engineering Design Others Software Principles No Silver Bullet. Today’s Lecture. Perspectives on software engineering Business Engineering Design Others - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/1.jpg)
Informatics 43 – October 7, 2014
Lecture 1-1Emily Navarro
![Page 2: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/2.jpg)
Today’s Lecture
• Perspectives on software engineering– Business– Engineering– Design– Others
• Software Principles• No Silver Bullet
![Page 3: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/3.jpg)
Today’s Lecture
• Perspectives on software engineering– Business– Engineering– Design– Others
• Software Principles• No Silver Bullet
![Page 4: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/4.jpg)
http://www.constitution.org/col/blind_men.htm
![Page 5: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/5.jpg)
Today’s Lecture
• Perspectives on software engineering– Business– Engineering– Design– Others
• Software Principles• No Silver Bullet
![Page 6: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/6.jpg)
Business perspective: cars
• “…of all the staff hours in the entire program to build the Two-Mode Hybrid transmission…some 70 percent…were devoted to developing the control software”
![Page 7: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/7.jpg)
Business perspective: cars
• “…of all the staff hours in the entire program to build the Two-Mode Hybrid transmission…some 70 percent…were devoted to developing the control software”
![Page 8: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/8.jpg)
Business perspective: medical systems
• “…they won’t cover anywhere near the staggering cost of an Epic EHR. Duke University Health System will shell out $700 million, so will Boston-based Partners HealthCare; University of California, San Francisco will pay $150 million…”
• “Partners HealthCare — the giant parent organization of Massachusetts General and Brigham and Womens, among other hospitals — recently signed off on a new system that will cost at least $600 million and take years to fully implement. The real final tab is anyone’s guess.”
![Page 9: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/9.jpg)
Business perspective: medical systems
• “…they won’t cover anywhere near the staggering cost of an Epic EHR. Duke University Health System will shell out $700 million, so will Boston-based Partners HealthCare; University of California, San Francisco will pay $150 million…”
• “Partners HealthCare — the giant parent organization of Massachusetts General and Brigham and Womens, among other hospitals — recently signed off on a new system that will cost at least $600 million and take years to fully implement. The real final tab is anyone’s guess.”
![Page 10: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/10.jpg)
Business perspective: game development
• “The average price of game production slowly rose from $1M–4M in 2000 to over 5M in 2006 to over 20M in 2010.”
• “Grand Theft Auto IV is touted as the most expensive game ever made. The evidence: Rockstar Games spent a cool $100M on this fourth installment. At times, as many as 1000 people were purported to be working on the game and the stupendous soundtrack alone shows it…”
• “In 2009 games market annual value is estimated between $7–30 billion, depending on which sales figures are included. This is on par with films box office market.”
![Page 11: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/11.jpg)
Business perspective: game development
• “The average price of game production slowly rose from $1M–4M in 2000 to over 5M in 2006 to over 20M in 2010.”
• “Grand Theft Auto IV is touted as the most expensive game ever made. The evidence: Rockstar Games spent a cool $100M on this fourth installment. At times, as many as 1000 people were purported to be working on the game and the stupendous soundtrack alone shows it…”
• “In 2009 games market annual value is estimated between $7–30 billion, depending on which sales figures are included. This is on par with films box office market.”
![Page 12: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/12.jpg)
Business perspective: bonus
![Page 13: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/13.jpg)
Business perspective• Ultimately, from a business perspective, three issues matter:
– cost of developing (purchasing) software– time to market of product– profit that will be made from sale of software
• The cost and time to market should both be minimized as much as possible
• The profit should be maximized as much as possible
• Software engineering can help in – keeping cost low– accelerating time to market– creating a product that will bring in large profits
![Page 14: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/14.jpg)
Today’s Lecture
• Perspectives on software engineering– Business– Engineering– Design– Others
• Software Principles• No Silver Bullet
![Page 15: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/15.jpg)
Engineering perspective: cars
![Page 16: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/16.jpg)
Engineering perspective: medical systems
![Page 17: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/17.jpg)
Engineering perspective: medical systems
• https://threatpost.com/en_us/blogs/fda-software-failures-responsible-24-all-medical-device-recalls-062012
• Software failures were behind 24 percent of all the medical device recalls in 2011, according to data from the U.S. Food and Drug Administration, which said it is gearing up its labs to spend more time analyzing the quality and security of software-based medical instruments and equipment.
![Page 18: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/18.jpg)
Engineering perspective: medical systems
• https://threatpost.com/en_us/blogs/fda-software-failures-responsible-24-all-medical-device-recalls-062012
• Software failures were behind 24 percent of all the medical device recalls in 2011, according to data from the U.S. Food and Drug Administration, which said it is gearing up its labs to spend more time analyzing the quality and security of software-based medical instruments and equipment.
![Page 19: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/19.jpg)
Engineering perspective: game development
![Page 20: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/20.jpg)
Engineering perspective
• Ultimately, from an engineering perspective, what matters is the internal quality of the software, and making it work within the constraints of the environment– Internal quality: quality of the software from a
designer’s/implementer’s perspective
• This internal quality should be maximized as much as possible
• Software engineering can help in engineering systems with better internal quality
![Page 21: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/21.jpg)
Today’s Lecture
• Perspectives on software engineering– Business– Engineering– Design– Others
• Software Principles• No Silver Bullet
![Page 22: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/22.jpg)
Design perspective: cars
![Page 23: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/23.jpg)
Design perspective: cars
![Page 24: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/24.jpg)
Design perspective: medical systems
“Unfortunately, Ava is extremely not awesome looking.... They should take a hint from Apple and make her look awesome.”
![Page 25: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/25.jpg)
Design perspective: medical systems
“Unfortunately, Ava is extremely not awesome looking.... They should take a hint from Apple and make her look awesome.”
![Page 26: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/26.jpg)
Design perspective: medical systems
“Unfortunately, Ava is extremely not awesome looking.... They should take a hint from Apple and make her look awesome.”
![Page 27: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/27.jpg)
Design perspective: game development
• http://www.designersnotebook.com/Design_Resources/No_Twinkie_Database/no_twinkie_database.htm
• “…the things that make a boss battle boring are, "stupid amounts of repetition, ridiculously high/replenishing energy [i.e. boss health] combined with unimaginative gameplay (yawn), and powered up versions of previous bosses.“
• “More lazy puzzle design. At the end of Infidel, which was another Infocom adventure, you had to do four things in a certain sequence. The number of possible combinations is 4! (four factorial, or 24). There was no clue whatsoever as to the correct sequence; you just had to try them all. Yuck. Yet another time-waster with no enjoyment value. “
![Page 28: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/28.jpg)
Design perspective: game development
• http://www.designersnotebook.com/Design_Resources/No_Twinkie_Database/no_twinkie_database.htm
• “…the things that make a boss battle boring are, "stupid amounts of repetition, ridiculously high/replenishing energy [i.e. boss health] combined with unimaginative gameplay (yawn), and powered up versions of previous bosses.“
• “More lazy puzzle design. At the end of Infidel, which was another Infocom adventure, you had to do four things in a certain sequence. The number of possible combinations is 4! (four factorial, or 24). There was no clue whatsoever as to the correct sequence; you just had to try them all. Yuck. Yet another time-waster with no enjoyment value. “
![Page 29: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/29.jpg)
Design perspective
• Ultimately, from an design perspective, what matters is the external quality of the software– External quality: the quality of the software from a user
perspective
• This external quality should be maximized as much as possible
• Software engineering can help in designing systems with better external quality
![Page 30: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/30.jpg)
Today’s Lecture
• Perspectives on software engineering– Business– Engineering– Design– Others
• Software Principles• No Silver Bullet
![Page 31: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/31.jpg)
What did all the blind men miss?
![Page 32: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/32.jpg)
Can anyone see software?
![Page 33: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/33.jpg)
What parts of software do we (the blind) “see”?
• User: the user interface – buttons, icons, menus, etc.• Programmer: source code• Electrical engineer: semiconductors, transistors, power supply• Society: impact, output, trends, dangers• Business people: profits, costs, required training• Designers: product, structure• Software project manager: teams, budgets, timetables• Professor of software engineering: principles• Students of software engineering: work, work, work
![Page 34: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/34.jpg)
What parts of software do we (the blind) “see”?
• User: the user interface – buttons, icons, menus, etc.• Programmer: source code• Electrical engineer: semiconductors, transistors, power supply• Society: impact, output, trends, dangers• Business people: profits, costs, required training• Designers: product, structure• Software project manager: teams, budgets, timetables• Professor of software engineering: principles• Students of software engineering: work, work, work • Students of software engineering: opportunity, challenge, fun
![Page 35: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/35.jpg)
Most students in this class…
• have used a lot of software, and “see” the user interface aspect;
• have done some programming, and “see” the code and algorithms aspect.
But those aren’t the focus of Informatics 43!
![Page 36: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/36.jpg)
Informatics 43 Perspective
• The process of constructing software.
• Phases of development other than programming.
• Principles and qualities of enduring value.
![Page 37: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/37.jpg)
Today’s Lecture
• Perspectives on software engineering– Business– Engineering– Design– Others
• Software Principles• No Silver Bullet
![Page 38: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/38.jpg)
Principles of Software EngineeringDavis, 1994
• Make Quality Number 1• High-quality software is possible
• Give products to customers early• Understand the problem first• Use an appropriate process model• Get it right before you make it faster• Good management is more important than
good technology• People are the key to success
![Page 39: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/39.jpg)
Principles of Software EngineeringRoyce, 1998
• Base the process on an architecture-first approach
• Establish an iterative process that addresses risks early in the process
• Emphasize component-based development to reduce the coding effort
• Use change management to handle iterative processes
• Use a demonstration-based approach for intermediate artifacts
• Have incremental releases
![Page 40: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/40.jpg)
Principles of Software EngineeringWasserman, 1996
• Modularity
• Abstraction
• UI prototyping
• Reuse
• Metrics
![Page 41: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/41.jpg)
Inf 43 Recurring, fundamental principles
• Rigor and formality• Separation of concerns– modularity– divide and conquer– abstraction
• Anticipation of change• Generality• Incrementality
![Page 42: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/42.jpg)
Today’s Lecture
• Perspectives on software engineering– Business– Engineering– Design– Others
• Software Principles• No Silver Bullet
![Page 43: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/43.jpg)
No Silver Bullet – Essence and Accident in Software Engineering, by Frederick Brooks
What is the essence of software… What are the essential qualities that make building software hard?
![Page 44: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/44.jpg)
No Silver Bullet – the essence..
“a construct of interlocking concepts: data structures and classes, algorithms, function calls.”
“the hard part of building software is the specification, design, and testing of the conceptual construct – not the programming and testing of the code.”
![Page 45: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/45.jpg)
Inherent properties of the essence –
Complexity
Conformity
Changeability
Invisibility
![Page 46: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/46.jpg)
Inherent properties of the essence – Complexity
Software entities are complex.
• “No two parts are alike.”• Nonlinear increase with size• difficulty of communication among
team members• unreliability• hard to use• difficulty of extending• security trapdoors
![Page 47: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/47.jpg)
Inherent properties of the essence– Conformity
• Software must conform to human institutions and systems.
• No way to “simplify out” this complexity by redesigning the software alone.
![Page 48: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/48.jpg)
Inherent properties of the essence– Changeability
“All successful software gets changed.”
• Pressures for extended function.• Software can be changed more easily.• Successful software survives beyond
the life of the hardware it was written for.
![Page 49: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/49.jpg)
Inherent properties of the essence– Invisibility
• “The reality of software is not inherently embedded in space.”
• Hinders both understanding and communication among minds.
![Page 50: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/50.jpg)
No Silver Bullet – Past Breakthroughs
Most fruitful steps (as of mid 1980s)
• High-level languages.• Time-sharing.• Unified programming environments.
![Page 51: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/51.jpg)
No Silver Bullet – Hopes for the Silver
• Ada and other high level languages.• Object-oriented programming.• Artificial intelligence.• Expert systems.• “Automatic” programming.• Graphical programming.• Program verification.• Environments and tools.• Workstations.
![Page 52: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/52.jpg)
No Silver Bullet – Promising Attacks
• Buy versus build.• Requirements refinement and rapid
prototyping.• Incremental development—grow,
not build software.• Great designers. “The central
question of how to improve the software art centers, as always, on people.”
![Page 53: Informatics 43 – October 7, 2014](https://reader033.vdocuments.site/reader033/viewer/2022061522/56813273550346895d990dd5/html5/thumbnails/53.jpg)
Next Time
• California software fiascos• Requirements engineering• Complete assigned readings before Thursday