Reading List

JS private class fields considered harmful from Lea Verou RSS feed.

JS private class fields considered harmful

Reading Time: 2 minutes Today I mourn. What am I mourning? Encapsulation. At least in my projects. As a library author, I’ve decided to avoid private class fields from now on and gradually refactor them out of my existing libraries. Why did I make such a drastic decision? It all started a few days ago, when I was building […]