Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialEnrica Fedeli-Jaques
6,773 Pointswhat's the point in showing first the incorrect way of doing something?
Hi, not a question, just a feedback. What's the point of showing first the incorrect way of doing it? Asking because my code (which wasn't working) wasn't working only because after return I had mistakenly added area and perimeter before the math operations. watching the video I started correcting all my code following Jay step by step only to get to the end and realizing that "wait a sec, that's what I had done!" crtl+z all the way back to get back to my original code to check again where I had made mistakes. I don't see why would you show an incorrect way first
1 Answer
Steven Parker
231,261 PointsI've seen this in several courses, so I'm pretty sure it's intentional. This is more commonly done in training for life-critical applications such as Emergency Medical Technician or Airline Pilot, where the goal is help students to be able to accept and correct mistakes instead of concealing and/or justifying them.
But some of the ways I can see it might be useful in engineering training:
- to encourage experimentation and creativity
- to show how mistakes can contribute to deeper understanding
- to improve motivation and self-esteem
- and to create opportunities to demonstrate problem analysis and debugging