CSE 331 Software Design and Implementation

Slides:



Advertisements
Similar presentations
CSE 331 wrapup CSE 331 University of Washington. CSE 331 goals Enable students to manage complexity ensure correctness write modest programs.
Advertisements

Intro to CIT 594
Intro to CIT 594
21-Jun-15Advanced Programming Spring 2002 Advanced Programming Henning Schulzrinne Dept. of Computer Science Columbia University.
A-1 © 2000 UW CSE University of Washington Computer Programming I Lecture 1: Overview and Welcome Dr. Martin Dickey University of Washington.
CSE 331 Software Design & Implementation Dan Grossman Fall 2014 Lecture 1 – Introduction & Overview 1CSE 331 Fall 2014.
1 Design and Integration: Part 1 Nuggets about Design vs Project Management.
Introduction CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
Student Background 24 females, 4 males Approx years old 7 students reported creating a web page prior to course (template format only) Most students.
CSE 140 wrapup Michael Ernst CSE 140 University of Washington.
CSE 331 Software Design & Implementation Hal Perkins Autumn 2012 Lecture 0 – Course Introduction 1CSE 331 Au12 One handout up front!
CSE 331 Software Design & Implementation Dan Grossman Winter 2014 Lecture 1 – Introduction & Overview 1CSE 331 Winter 2014.
CSC 211 Introduction to Design Patterns. Intro to the course Syllabus About the textbook – Read the introduction and Chapter 1 Good attendance is the.
17-Dec-03 Intro to CIT 594 ~matuszek/cit594.html.
CSE 219 Computer Science III Program Design Principles.
Introduction to CSE 331 Software Design & Implementation Winter 2011
CSE 331 Software Design & Implementation Hal Perkins Autumn 2012 Wrapup 1.
Software Design Process
Object Oriented Modeling David Li CTO, DigitalSesame.
CSE 190p wrapup Michael Ernst CSE 190p University of Washington.
CSE 331 Software Design & Implementation Dan Grossman Spring 2015 Course Victory Lap (Based on slides by Mike Ernst, Dan Grossman, David Notkin, Hal Perkins)
© 2006 Pearson Addison-Wesley. All rights reserved 2-1 Chapter 2 Principles of Programming & Software Engineering.
1 Data Structures CSCI 132, Spring 2014 Lecture 1 Big Ideas in Data Structures Course website:
Zach Tatlock / Winter 2016 CSE 331 Software Design and Implementation Lecture 1 Introduction.
Interfaces, Mixins, & Multiple Inheritance CSE 413 Autumn 2008 Credit: Dan Grossman, CSE341, Sp08.
CSE 331 Software Design & Implementation Hal Perkins Fall 2015 Lecture 1 – Introduction & Overview (Based on slides by Mike Ernst, Dan Grossman, David.
CSE 331 Software Design & Implementation Hal Perkins Winter 2015 Lecture 1 – Introduction & Overview (Based on slides by Mike Ernst, Dan Grossman, David.
Zach Tatlock / Winter 2016 CSE 331 Software Design and Implementation Lecture 24 Wrap Up.
Introduction to CSCI 1311 Dr. Mark C. Lewis
Principles of Programming & Software Engineering
CSE341: Programming Languages Lecture 26 Course Victory Lap
Programming Languages Dan Grossman 2013
Computer Network Fundamentals CNT4007C
CSE 219 Final exam review.
CSE 331 Software Design and Implementation
CSc 020: Programming Concepts and Methodology II
Final exam: Wednesday, March 20, 2:30pm
CSE 374 Programming Concepts & Tools
CSE 331 Software Design & Implementation
Object-Oriented Software Engineering Using UML, Patterns, and Java,
CSE 331 Software Design & Implementation
CSE 403 Software Engineering
University of Washington Computer Programming I
Lecture 2 of Computer Science II
AP Computer Science Principals Course Importance and Overview
CSE 331 Software Design & Implementation
Introduction CSE 1310 – Introduction to Computers and Programming
Introduction to Programming 2
CSE 331 Software Design & Implementation
CSE341: Programming Languages Lecture 26 Course Victory Lap
EECE 310 Software Engineering
CSE 331 Software Design & Implementation
COS 260 DAY 16 Tony Gauvin.
Organization of Programming Languages
Software Engineering INTRODUCTION
Intro to CIT 594
CSE403 Software Engineering Autumn 2000 Design (Overview)
Principles of Programming Languages
CSE 331 Software Design & Implementation
CSE341: Programming Languages Lecture 26 Course Victory Lap
CSE 331 Software Design & Implementation
CSE341: Programming Languages Lecture 26 Course Victory Lap
CS 2530 Intermediate Computing Dr. Schafer
AP Computer Science Principals Course Importance and Overview
Computational Models of Discourse Analysis
What Is Good Software(Program)?
CSCE 314: Programming Languages Dr. Dylan Shell
Top-Down Design & JSP Skill Area Part D
CSE341: Programming Languages Lecture 26 Course Victory Lap
Information system analysis and design
Presentation transcript:

CSE 331 Software Design and Implementation Lecture 24 Wrap Up Zach Tatlock / Spring 2018

Final Logistics Wednesday, 8:30 - 10:20 AM Comprehensive, weighted towards 2nd half Old exams on the web; some questions won’t apply if we didn’t do similar things

Today Course Reviews Project demos Final logistics (here at 8:30am on Wednesday!) A look back at CSE 331 High-level overview of main ideas and goals Connection to homework and broader context Also: THANK YOU :)

CSE 331 What was it all about? But first….

Huge thanks to the folks who made it work Course staff: Weifan Jiang, Cody Kesting, Tim Chirananthavat, Alexey Beall, Hongtao Huang, Jake Sippy, Chen (Jason) Qiu, Leah Perlmutter, Zhu (Ruby) Li, Yifan (Vanadis) Xu Special thanks to all of you :) This course is itself a sophisticated system requiring design, implementation, and debugging ;)

Credits Michael Ernst Hal Perkins Dan Grossman David Notkin Great course material based on work by: Michael Ernst Hal Perkins Dan Grossman David Notkin Dozens of amazing TAs Hundreds of incredible students (you!)

From our first lecture…

The Big Picture

“Controlling complexity is the essence of computer programming.” Welcome! 10 week study of the craft of programming How do we build good programs? “Controlling complexity is the essence of computer programming.” -- Brian Kernighan (UNIX, AWK, C, …)

Controlling Complexity

Controlling Complexity

Learning to Control Complexity First, we need to refine our goals: What quality makes a program good? How can we tell if a program is good? How do we build good programs? To answer, we’ll learn principles and use tools: Modularity, documentation, testing, verification Tools: Java, IDEs, debuggers, JUnit, JavaDoc, git Tools change, principles are forever.

10 weeks ago: Welcome! We have 10 weeks to move well beyond novice programmer: Larger programs Small programs are easy: “code it up” Complexity changes everything: “design an artifact” Analogy: using hammers and saws vs. making cabinets (but not yet building houses) Principled, systematic software: What does “it’s right” mean? How do we know “it’s right”? What are best practices for “getting it right”? Effective use of languages and tools: Java, IDEs, debuggers, JUnit, JavaDoc, git, Checker Framework, … Principles are ultimately more important than details You will forever learn details of new tools/versions

10 weeks ago: Goals CSE 331 will teach you to how to write correct programs What does it mean for a program to be correct? Specifications What are ways to achieve correctness? Principled design and development Abstraction and modularity Documentation What are ways to verify correctness? Testing Reasoning and verification

10 weeks ago: Managing complexity Abstraction and specification Procedural, data, and control flow abstractions Why they are useful and how to use them Writing, understanding, and reasoning about code Will use Java, but the issues apply in all languages Some focus on object-oriented programming Program design and documentation What makes a design good or bad (example: modularity) Design processes and tools Pragmatic considerations Testing Debugging and defensive programming [more in CSE403: Managing software projects]

Some new slides to tie the pieces together…

Divide and conquer: Modularity, abstraction, specs No one person can understand all of a realistic system Modularity permits focusing on just one part Abstraction enables ignoring detail Specifications (and documentation) formally describe behavior Reasoning relies on all three to understand/fix errors Or avoid them in the first place Proving, testing, debugging: all are intellectually challenging

How CSE 331 fits together Lectures: ideas  Assignments: get practice Specifications Testing Subtyping Equality & identity Generics Design patterns Reasoning, debugging Events Systems integration Design classes Write tests Write subclasses Override equals, use collections Write generic classes Larger designs; MVC Correctness, testing GUIs N/A

We’ve come far in CSE 331! Compare your skills today to 10 weeks ago Theory: abstraction, specification, design Practice: implementation, testing Theory & practice: correctness Bottom line aspiration: Much of what we’ve done would be easy for you today This is a measure of how much you have learned There is no such thing as a “born” programmer! Practice: also “teamwork” in some terms. Genius is 1% inspiration and 99% perspiration. Thomas A. Edison

DEMOS

What you will learn later Your next project can be much more ambitious But beware of “second system” effect Know your limits Be humble (reality helps you with this) You will continue to learn Building interesting systems is never easy Like any worthwhile endeavor Practice is a good teacher Requires thoughtful introspection Don’t learn only by trial and error! Voraciously consume ideas and tools

What comes next? Courses CSE 403 Software Engineering Focuses on requirements, software lifecycle, teamwork Capstone projects Any class that requires software design and implementation Research In software engineering & programming systems In any topic that involves software Having an impact on the world Jobs (and job interviews) Larger programming projects

Final slide System building is fun! It’s even more fun when you’re successful Pay attention to what matters Take advantage of the techniques and tools you’ve learned (and will learn!) On a personal note: Don’t be a stranger: I love to hear how you do in CSE and beyond as alumni Closing thoughts?