The last part in this series is going to involve some time travel. Physics
aside, let's assume six months have passed since our original JasmineTester
object was created. The object was a great success and has been embedded
all throughout the organization. We have forgotten the details of our
earlier work as multiple other projects have come and gone. While still
basking in the glow of our earlier success, a new requirement comes down the
line: make a new object exactly like the JasmineTester but with multiplication. Thanks
goodness we used Jasmine!
Showing posts with label JavaScript Best Practices. Show all posts
Showing posts with label JavaScript Best Practices. Show all posts
12/17/2012
11/27/2012
Solve the Problem, Not the Behavior
In my past life of consultancy I became very used to working on other people's code. One of the most important lessons I learned was to "find the problem first". Errors are a behavior you witness. Debugging is fixing those errors. Most developers would consider those reasonable statements. There is an underhanded trick here though. Some developers might make the mistake of a direct connection between the two, but there isn't. The error you witness may not be the error you need to fix.
Subscribe to:
Posts (Atom)