Hacker News new | ask | show | jobs
by _RPM 4226 days ago
_this_ is ambiguous. Can you explain what the context of "this" is?
2 comments

From the original Netflix post:

"This turned out be caused by a periodic (10/hour) function in our code. The main purpose of this was to refresh our route handlers from an external source. This was implemented by deleting old handlers and adding new ones to the array. Unfortunately, it was also inadvertently adding a static route handler with the same path each time it ran."

The ultimate irony is probably a comment about the ambiguity of "this" in an article about a Javascript-based technology.