Show students what code looks like with and without new programming constructs (e.g., methods, Objects, inheritance, loops, switch statements) to motivate the reasons for using new concepts.
Share Show students what code looks like with and without new programming constructs (e.g., methods, Objects, inheritance, loops, switch statements) to motivate the reasons for using new concepts. with FacebookShare Show students what code looks like with and without new programming constructs (e.g., methods, Objects, inheritance, loops, switch statements) to motivate the reasons for using new concepts. with Twitter
- Comparing code with and without new programming constructs can help:
- students understand new constructs by mapping them back to the existing constructs.
- motivate new programming construct by helping students see how it makes the code easier to understand.
- Note from the CSTeachingTips Team: Check out these specific tips on how to introduce new concepts by comparing code with and without it.
- Introducing methods
- Introducing inheritance
- Introducing loops
- Introducing switch statements