Teaching Software Engineering in 2027
I’m teaching CSC 3100 Software Engineering at Cal Poly in spring 2027. There are three things I want students to get better at:
- Designing software in the face of often uncertain, incorrect, and changing requirements.
- Creating mechanisms to rapidly deliver high-quality software.
- Accomplishing both while navigating the competing interests, expectations, and sometimes distrust of other people.
I don’t believe universities have traditionally done a good job of teaching these competencies. A big part of the challenge is how heavily they rely on judgment. It’s easy to teach software engineering as a collection of terminology, design patterns, and dogma. It’s much harder to teach students when an abstraction is worth introducing or when technical debt is worth incurring. It’s difficult to teach students to move beyond painting by numbers.
And what is judgment if not the secret sauce of staff engineers? Over the years, I sat through hundreds of promotion reviews at big tech companies. Promotion, even for individual contributors, was never primarily about raw technical skills. It was about demonstrated impact and judgment. Could I trust this person with a problem we still didn’t know how to define? Even the fastest-growing developers needed a certain number of reps to develop that judgment. You have to be responsible for decisions, live through the consequences, try again, hate Jeff, find out that Jeff isn’t actually that bad, etc., etc.1
While agentic coding is diminishing the relative value of some skills traditionally taught to software engineers, I believe it opens up an interesting pedagogical possibility. As the mechanics of writing code become less of a bottleneck, could we design a curriculum that helps students speed-run some of the experiences that develop engineering judgment? Not that they’ll leave class as staff engineers, but perhaps we can give them a head start.
My plan is to have students run their own potion shops in a simulated world (potions and gnomes, oh my!). Students will work in teams to make decisions, build software around those decisions, and see firsthand why plans so often go awry. This gives me the controlled setting of traditional toy problems while preserving the ambiguity, uncertainty, and messiness of real-world problems. While the world is simulated, all of the software engineering is as real as can be. My goal is for students to leave the class with a foundation on which to build their future engineering judgment.

Figure 1: Asking Duchess Purry when she likes to shop
How the simulation works and what it teaches
In the first hour of lab, students get their potion shops online. They compete in small corporations, basically teams of seven or eight, and each student starts out running one shop in the team’s shared codebase. The shops stay open around the clock for the next fifteen weeks in a world with more than fifteen thousand simulated customers. Students have to figure out which potions to brew, when to staff their shops, how to get raw materials across the map, and whether it’s worth taking out a loan to pay for all of this.
If that sounds a bit overwhelming, that’s okay! The real world is big, scary, and messy. Students need to learn how to distill a vast expanse of information and options into a prioritized list of improvements. How do you justify your choice of priorities? How do you measure whether it’s working? How do you know when to pivot? How do you make all that happen when Steve just broke the build (again!)? And Janet just spent all the corporation’s gold on upgrading her shop, so now you’re broke.
The class is broken into two seasons. Season 1 focuses primarily on students’ ability to rapidly and reliably deliver software. Students start by working on individual shops with well-defined objectives:
- Week 1: just get your shop working and selling.
- Week 2: make your first custom potion and sell it. This gives students exposure to the game world, a chance to become opinionated about it, and an opportunity to learn the basics of pushing code without hurting their teammates.
- By Week 6: they are still working primarily on their individual shops but are pursuing more ambiguous objectives like profitability.
Throughout Season 1, students will exercise their skills in distributed source control, code reviews, CI/CD, automated testing strategies, deployment, observability, and debugging. I want them to develop judgment around the practices that allow them to move quickly without constantly breaking things.

Figure 2: Shops are controlled purely by API
Season 2 shifts the focus to software design and collaborative development. Rather than being judged on the performance of their individual shops, students now have to accomplish objectives as a corporation. Again, we start with more scripted objectives and end with a competition to build the most profitable corporation.
Maybe most importantly, students don’t get a fresh codebase every week. They have to live with the decisions they made when they understood considerably less about the problem they were trying to solve. Much of software architecture is about enabling software to evolve. When you’re always starting from scratch week-to-week, you miss out on much of the motivation for designing software the way we do. As the software grows in complexity and students start tackling problems that span multiple shops, the merits and shortcomings of those earlier decisions will become apparent. I want students to develop real judgment around abstraction, information hiding, separation of concerns, coupling, and cohesion through that experience.
They will learn enough UML to communicate their designs to their teammates and to me and gain practice in critiquing designs. Some of my most valuable learning experiences in industry came from sitting down with more experienced engineers and talking through designs. I want to recreate that experience for students. The goal is to learn how to design software that accommodates change without introducing unnecessary complexity.

Figure 3: A view into the fictional world
Of course, designing software that accommodates change is only part of the challenge. Doing so with other human beings is often the harder part. Students will have to deal with interpersonal conflict, teammates not pulling their weight, and competing priorities. These are part of what I want students to learn to navigate, not incidental challenges of group work.
That said, students are still individually responsible for understanding the work their team does. A substantial portion of the grade comes from individual, in-class written exams that require students to justify and critique design decisions. I want to assess not just what students accomplished but also their ability to reason about the decisions they made along the way.
But what about…
I teach my database classes in a similar way, so I can guess at a few of the objections. Apologies if this reads too much like Aquinas2.
Objection 1 — Are you just teaching students how to beat your game rather than how to engineer software?
I answer: If I’ve failed in my design of the game, yes.
I have reason to believe I can pull it off. I’ve built simulations for decades, built games for about as long, and used games for pedagogy for five years now. When designing a simulation like this, I go through tens of thousands of runs with different parameters and strategies, which gives me a fairly good idea of the level of sophistication required to “win” the game. If it’s just “discover this one neat trick and you have the most profitable shop,” I’ve failed miserably in my job.
The intent is to create a world in which accomplishing increasingly sophisticated objectives requires students to confront increasingly interesting engineering problems. You can read more about how I develop my simulations.
Objection 2 — That sounds great, but can’t students still just slop their way to winning?
I answer: Kind of. But no more so than we already do in industry, and certainly less so, I believe, than traditional assignments allow.
First, the software runs 24/7. If students break their code, they directly hurt their shops’ ability to meet their objectives. Second, good engineering is not “I read the GoF design patterns book and applied it.” It is using techniques like separation of concerns and modularity to create software that evolves in the right ways. If students try to spaghetti their way to success, they’ll increasingly feel the cost of that approach as they layer more complexity into the software. Especially when seven or eight students are all trying to meet new requirements in the same codebase week-to-week.
To a certain extent, I think this objection presumes that good software engineering is primarily an aesthetic concern rather than a practical one: how do I make software that evolves to meet requirements without breaking?
Additionally, I’ll be holding weekly design sessions with students where they walk through their current design (or lack thereof) and the pain points they’re encountering. What I like to call the airing of grievances. In these meetings, I’ll reinforce lecture material by connecting architectural and design principles to the problems students are actually experiencing.
When we sit down the following week, I want to ask them what they expected their design to handle and where it gave them trouble. Maybe two shops needed different pricing rules and the team had assumed one would do. What led them to that assumption? Could they have spotted the problem earlier? I want them to get used to asking those questions about their own work. That’s what I mean by healthy epistemic habits.
Rather than being taught to follow design principles dogmatically, students will learn through experience why those principles matter. This will also help them avoid the overengineering trap, which is often even more painful in practice.
Objection 3 — How do you deal with unbalanced effort on teams?
I answer: I don’t have a perfect solution, but I do have mitigations.
Everyone starts by signing on to a set of operating agreements. One of the first assignments asks each team to write down its own standards, so teammates have something to point to when they disagree about what they owe each other. I check in with teams regularly, and peer reviews give me another way to spot cases where one person is carrying more than their share.
When that happens, I usually start by helping students talk it through. I think there’s a point where shielding students from every unfair situation gets in the way of what I’m trying to teach. Sooner or later, they’ll have to tell a teammate they’re carrying more than their share of the work; or one of many other difficult conversations. I’d rather they get some practice having those conversations while I’m around to help. I leave stepping in to resolve such situations myself as a last resort.
All that said, while group work is critical for what I want students to learn in the class, I still want to make sure students individually have learned what they need to learn. A substantial part of each student’s grade comes from individual, in-class written exams where I ask them to critique their own team’s design. Why did this choice seem reasonable at the time? What got harder because of it? Knowing what you know now, would you make the same call? Seven people may have helped design the thing, but each of them owes me their own answer.
Objection 4 — Why aren’t you teaching how to use Claude Code or Codex? Or my random favorite coding harness of the week?
I answer: I am, but that isn’t the focus of the class.
There will be a workshop where I walk through the tools I use, how I use them, and why. This will be less about declaring the “one true path” and more about demonstrating one possible way of working.
Separately, I’m teaching a seminar in the spring semester (CSC 4191) where I’m bringing in guest speakers from across industry to show how they use these tools to develop software (amongst other related topics).
Students can use AI in this class, and I’ll help them learn how to do so. But the mechanics of agentic tooling are changing rapidly. I’m much more interested in developing the engineering judgment that students will need regardless of which tools they’re using a few years from now.
Closing thoughts
I write posts like this partly to share what I’m doing, but primarily as a form of accountability to myself. I’m putting in writing what I’m doing and why. After the semester ends, I’ll debrief on what worked and what didn’t and resist the temptation to pretend that every failure was what I intended all along. In the meantime, please reach out if you have thoughts or criticisms. Class doesn’t start until the end of January, and I still have time to make adjustments.

Figure 4: a real-time view of customers shopping
Aristotle made a similar observation about practical wisdom (phronesis) some 2,400 years ago in his Nicomachean Ethics. He noted that young people could become accomplished mathematicians but that practical wisdom required experience with particular circumstances, something acquired only over time. ↩︎
I’m not sorry. ↩︎