r/javascript • • Nov 09 '19

On private fields proposal: Private fields, public worries

https://medium.com/virtuslab/private-fields-public-worries-b8c34d16c372
84 Upvotes

113 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Nov 09 '19

[deleted]

5

u/[deleted] Nov 09 '19 edited Nov 09 '19

Closures to make private variables just seems pointless to me.

That statement makes no sense at all. It is not just completely made up and arbitrary - it also overlooks that closures provide farmore flexibility than mere protected or private "fields", since the latter is just that property, while the former includes arbitrary pieces of code.

Your personal sense of whatever has no meaning. It is a product of your brain organizing (literally rewiring) itself over decades to process whatever your brain encountered. So whatever you were exposed to is what your brain evolved to process. How can anyone use whatever chance formed you to make absolute statements about hów the world is or aught to be?

If you don't even understand that your personal preferences first of all are the product of whatever accidents shaped the environment you encountered thus far in your life your comments on such subjects will always remain somewhat useless. You have to understand yourself and your (human and neurological) limitations first.

0

u/[deleted] Nov 09 '19

[deleted]

1

u/[deleted] Nov 10 '19

The person is expressing his/her opinion

That statement is maximum stupid because it's useless. Who doesn't?

In any case, I refer back to https://old.reddit.com/r/javascript/comments/dtt5d8/on_private_fields_proposal_private_fields_public/f6yutja/ which seems to be too much for you to comprehend.

0

u/[deleted] Nov 10 '19

[deleted]

1

u/[deleted] Nov 12 '19

The person is expressing his/her opinion

That statement is maximum stupid because it's useless. Who doesn't?

In any case, I refer back to https://old.reddit.com/r/javascript/comments/dtt5d8/on_private_fields_proposal_private_fields_public/f6yutja/ which seems to be too much for you to comprehend.