SENG 365 — Software Engineering
2026-12-01
By the end of this module, you should be able to:
This module is course synthesis rather than a summary of a textbook chapter.
An agent can draft requirements, designs, code, tests, and a pipeline.
What is left for you to do?
Pause the video and write down your answer.
For generated work, ask:
When an agent writes code you never reason through, the system runs but your understanding of it does not keep pace.
The debt comes due when something breaks, a requirement changes, or you must defend a decision.
Keep your own mental model of the system.
Related: skill loss, in Terence Tao’s talk from the AI lecture.
The course sorted its concepts by how you must use them.
| Concept | Module | Look for in generated code |
|---|---|---|
| Abstraction and encapsulation | M2 | internals exposed through getters or public fields |
| Interfaces and polymorphism | M3 | clients that depend on concrete classes |
| Dependency injection | M3 | collaborators built inside the class |
| State modelling | M4 | states hidden in flags and conditionals |
| Testability | M5 | time, randomness, or I/O with no seam |
| Composition | M6 | inheritance used only to reuse code |
| Pattern | Module | Ask before accepting |
|---|---|---|
| Strategy | M3, M9 | is it a class where a function value would do? |
| Singleton | M4 | does global access hide a dependency? |
| Decorator | M6 | is it still clear what the client is holding? |
| Composite | M6 | does the client still ask leaf or group? |
| Command | M6 | does the named command earn its cost over a lambda? |
| Observer | M8 | push or pull, and who may change the model? |
| Artifact | AI level | |
|---|---|---|
| A1 | Requirements specification | A |
| A2 | System design | A |
| A3 | Tested prototype slice | D |
| A4 | Requirements revision | C |
| A5 | Design revision | D |
| A6 | Tested and deployed prototype | E |
| Textbook | Agent | You decide | |
|---|---|---|---|
| A1 | requirements slides | none (Level A) | boundary, stakeholders, stories, quality attributes |
| A2 | M2 to M8 | none (Level A) | structure, behavior, rejected alternatives, decisions |
These two artifacts become the context an agent works from.
| Textbook | Agent | You decide | |
|---|---|---|---|
| A3 | M3 interfaces, M5 testability | debug, explain, suggest (D) | which tests; one repair |
| A4 | requirements slides | critiques your A1 (C) | accept, reject or revise each point |
| A5 | the A2 modules | proposes two alternatives (D) | the choice; one claim verified |
| Textbook | Agent | You decide | |
|---|---|---|---|
| A6 | deployment notes, M5 | most latitude (E) | smoke test, operational note, one repair |
An agent can write the pipeline but you decide what counts as evidence.
A1 is graded on one test: could another team design from it without talking to you?
An agent generated this class. It works.
Pick the row of the map where you are least sure you could judge an agent’s output.
Before class: Review your project reflections and the Insights sections from Chapters 1–9.
Bring one artifact created manually and one created with AI assistance. Mark one place where the AI chose the structure, library, or pattern.
Name one place an AI tool chose how to build something in your project.
Was that the right choice for your situation?
What evidence supports your answer?
Every language answers the same design questions:
Same behavior, three contracts:
interface, checked by the compiler.Protocol, checked only if you run a type checker.An agent writes in the idiom of the language you give it.
You judge whether the contract is kept.
Slides in class: cross-language comparison.
class really is.Stack that all three languages accept.An agent generated a Stack by extending the language’s list type, in Java, Python, and JavaScript.
Look at the three versions on screen.
Stack.One design skill I can now use with or without AI is __________.

Course home · Neil Ernst ©️