Hacker News new | ask | show | jobs
by jongleberry 4226 days ago
this is why the express team actively rejects any features or support for dynamically changing middleware and routes during runtime.
1 comments

_this_ is ambiguous. Can you explain what the context of "this" is?
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.