There is a little typo in Functional Programming section at Understand the Hazards of Using Imperative Code 's line of 13. The passing argument is used like “tab” but below this line, and is used like tabs. If i’m wrong please explain it to me. thanks
I do not think it should be there at all, but it does not matter whether it is
The point of the code is to mimick the actual
This API has the method
.open, which accepts a
tab as an argument. So, semantically, it makes sense to use the singular.
In this challenge, the code is a simplification, and does not use the parameter. So, either way would work - if it were me, I would remove it entirely.
Hope this clarifies
the answer is really clear for me. thanks a lot.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.