Shuai Li
Feb 1, 2022

--

Yes, what you said is applicable in most business development. For team collaboration, comprehension and maintainability are more important.

I introduce this technique mainly for two scenarios:

1. If we need to develop a high-performance library

2. When we need to read the library written by others, such as Vue source code.

For most development scenarios, using Map and Object is indeed better.

--

--

Shuai Li
Shuai Li

Written by Shuai Li

An enthusiastic game player of Earth Online.

No responses yet