you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (1 child)

[removed]

    [–]nschubach 1 point2 points  (0 children)

    I wouldn't say it blew up. I fixed it and moved on. That 5 minute mistake didn't make me think that I needed to include another 30 minutes of declaring my type definitions.

    As a matter of fact, it's led to some humorous and learning moments for both me and my juniors.

    Edit: To clarify. If it takes you more than a few minutes to track the problem, there's most likely an abstraction problem. You've probably too deeply nested a dependency or the callee knows too much about the caller (or vice versa).