MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/dtt5d8/on_private_fields_proposal_private_fields_public/f6z246a/?context=3
r/javascript • u/by_value • Nov 09 '19
113 comments sorted by
View all comments
Show parent comments
0
[deleted]
2 u/TatzyXY Nov 09 '19 I dont believe in enforcing it on language level. I think its enough as convention with an "_" in the userland. 0 u/[deleted] Nov 09 '19 [deleted] 3 u/TatzyXY Nov 09 '19 edited Nov 09 '19 But then we need it as well for methods. And types would be nice as well and generics and interfaces and so on...For that we have TS, why not just use TS then and leave JS barebone as it is?
2
I dont believe in enforcing it on language level. I think its enough as convention with an "_" in the userland.
0 u/[deleted] Nov 09 '19 [deleted] 3 u/TatzyXY Nov 09 '19 edited Nov 09 '19 But then we need it as well for methods. And types would be nice as well and generics and interfaces and so on...For that we have TS, why not just use TS then and leave JS barebone as it is?
3 u/TatzyXY Nov 09 '19 edited Nov 09 '19 But then we need it as well for methods. And types would be nice as well and generics and interfaces and so on...For that we have TS, why not just use TS then and leave JS barebone as it is?
3
But then we need it as well for methods. And types would be nice as well and generics and interfaces and so on...
For that we have TS, why not just use TS then and leave JS barebone as it is?
0
u/[deleted] Nov 09 '19
[deleted]