DEV Community

Discussion on: The Function That Ate An Error Message

Collapse
 
jappyjan profile image
jappyjan

That's like js super basics... if I had employees not beeing able to solve such a problem I would definitely start to think if those guys have a right to call them js developers...
Sorry if I'm hurting anyone's feelings with this but this beginners stuff... I just can't understand how a company is able to suffer of it for three years ...

Collapse
 
rfornal profile image
bob.ts

It is super basic and that, I believe is where this issue, in a code-base of thousands of lines of code, was able to continue without being located.

This scenario was significantly simplified; the calling code and function called had enough code in place to somewhat mask what was going on.

No feelings are hurt ... just putting this out the ensure that we always go back to those basics and dig in appropriately.

Collapse
 
rfornal profile image
bob.ts

Also realize that this issue was extremely difficult to replicate and unfortunately, it got missed as a valid negative test. There was also a ton of additional work that took priority over this issue.

Fortunately for our team, the intern who took the card on was very patient and willing to run through the various permutations to replicate the issue. Once the issue was replicated and appropriate break points in place, the issue became very clear.

Collapse
 
jappyjan profile image
jappyjan

Well then: nothing said 😜

Thread Thread
 
rfornal profile image
bob.ts

I appreciate the comments ... I probably didn't stress the above points enough in the article and you called them out. Thanks!

Thread Thread
 
jappyjan profile image
jappyjan

I appreciate the way you replied to my comments even though they might have been a bit harsh...

Thread Thread
 
rfornal profile image
bob.ts

Not at all ... didn't take the comments as harsh. Like in a code review ... something for me to fix moving forward!