this post was submitted on 22 Oct 2023
1 points (66.7% liked)
Hacker News
1770 readers
1 users here now
This community serves to share top posts on Hacker News with the wider fediverse.
Rules
0. Keep it legal
- Keep it civil and SFW
- Keep it safe for members of marginalised groups
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Very cool idea! Reading through the comments on Hacker News it sounds like support for private fields has been implemented by browsers and class may have performance benefits over the functional approach.
In any case, I am really impressed by creative solutions like this.