DEV Community

Discussion on: Use Closures for Memory Optimizations in JavaScript (a case study)

 
hasnaindev profile image
Muhammad Hasnain • Edited

Honestly, it doesn't really matter. He chose to use normal functions instead of arrow functions and there is nothing wrong with it. I'd argue that if I was a beginner, I wouldn't understand your code, so I actually prefer his way of doing things.

No need to be fancy as this website is targeted towards beginners. Although, I agree, a lot of actual senior and experienced developers are also choosing this platform but they don't really care about reading such articles. I hope you got my point.

Thanks.