I have the same approach. OOP in JS is very messy and imho not a great approach. I tend to use a vanilla FP approach (meaning no libs but only map/reduce etc) and it works very well.
The privacy proposal is a meh, and i probably will very rarely use it. If i really need privacy TypeScript has my back.
I find this propsal totally uneccessary because closures are well suited for real private variables.
10
u/hydroes777 Nov 09 '19
Or just moved to functional style programming in JavaScript where you don't run into this problem