You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
People often preach about discouraging certain APIs (don't use for, don't chain .map().filter())
Those points often miss the context, leading people to believe the API itself is bad.
It's not. All APIs and patterns have a place to be. While this article would state what appears obvious things, "obvious" is relative, and I believe this kind of pragmatic thinking is something people should write more often about.
The text was updated successfully, but these errors were encountered:
for
, don't chain.map().filter()
)It's not. All APIs and patterns have a place to be. While this article would state what appears obvious things, "obvious" is relative, and I believe this kind of pragmatic thinking is something people should write more often about.
The text was updated successfully, but these errors were encountered: