Save this video free

[HD] EECS4302 F26 - 2026-09-17 (Thursday) - Lecture 3

Jackie Wang · 1:11:27 · Watch on YouTube

Part of York University EECS3342/EECS4302. See all 36 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Jackie Wang introduces cohesion, the Single Choice Principle, and regression testing as design checks for EECS4302 projects, then applies them to Java student classes and compiler architecture. The lecture contrasts 20 direct translations among five languages with a modular intermediate-representation approach, and previews how ANTLR 4 can generate scanners and parsers.

Key takeaways

Chapters

0:00 Using the Lecture Digest to Review EECS4302
7:26 Cohesion: Keep Each Class Focused on One Purpose
12:11 Single Choice Principle: Minimize the Places a Change Requires
16:04 A Java Student Class with Resident and Nonresident Variants
23:05 Unused Rate Fields Reveal a Cohesion Problem
25:35 Repeated Kind Checks Violate the Single Choice Principle
28:48 Java Inheritance Separates Student Types and Reuses Tuition Logic
34:00 Regression Testing: Rerun Tests After Every Model Change
42:50 Compiler Front Ends, Back Ends, and Intermediate Representation
48:45 Why Five Source and Target Languages Can Require 20 Direct Compilers
54:29 Designing IRs Around Basic, Pointer, and Object-Oriented Features
59:49 Shared IRs Replace Pairwise Translation with Front Ends and Back Ends
1:07:01 ANTLR 4 Generates Scanners and Parsers for Compiler Front Ends
1:10:32 Assignment 1 Preview: Implementing DFA and NFA Concepts in Java

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:05 All right. So, I would like to show you guys very quickly about the lecture digest because for our Tuesday's class is actually more than just syllabus. It's actually some technical contents. Well, not strictly technical, but at least it's relevant to the course, more relevant to the content. Id like to show to you uh first of all how you can find it again and then go over with you very quickly about the document so you can really [snorts] decide how you want to use it uh for your study you know for the written test or for the exam later ultimately so again if you look at the uh lecture site and then let me just refresh it okay just to be sure okay so you can see from Tuesday's class September 15 right so everything is there um I may not actually send you like announce ment for

0:52 like every time when the lecture uh recording lecture notes or lecture digest are ready so please just check so usually should be shortly after the class maybe the next day uh early next day I'll try to uh just make make sure everything's available there so especially you can look at the compass icon here if you click on that it will be the lecture digest for lecture number two okay over here why don't we just go over very quickly about it general structure and then I'll highlight certain section to you can decide how you want to use Of course, if you got any feedback about how to improve the structure or contents of the lecture digest, do let me know. I think uh for me to maybe make some adjustment possibly during the reading week. So when we produce the new ones after reading week, we can adapt. Okay.

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Jackie Wang.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.