3 ms·
>Just as with many other tools, they are powerful, and should be used WHEN APPROPRIATE. You can't work in a vacuum on large projects. To be an effective engine
by hueving 11y ago
>Just as with many other tools, they are powerful, and should be used WHEN APPROPRIATE.
You can't work in a vacuum on large projects. To be an effective engineer you have to understand the limitations of your team members. Forgoing map in lieu of a more verbose loop is completely appropriate if you're working with a bunch of junior people that need to maintain and fix bugs in the same codebase.
- stickfigure 11y agoI didn't downvote you, but I'm guessing the reason for your downvotes is that in this day and age, even junior programmers should be expected to understand map. It's such a simple concept that anyone who writes code for a living should be reasonably expected to understand it. If you're on a team with a bunch of programmers and nobody understands map, GTFO. It will not end well.
- wtetzner 11y agoIn fact, map is simpler than a loop.