Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Const-me
on Sept 30, 2020
|
parent
|
context
|
favorite
| on:
Rust 2021: GUI
https://reactjs.org/
says right on the front page: "Build encapsulated components that manage their own state, then compose them to make complex UIs."
Components managing their own state is a textbook definition of OOP.
wtetzner
on Oct 1, 2020
[–]
Encapsulation is not equivalent to OOP. If it is, then why do we have two separate terms for the same thing?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Components managing their own state is a textbook definition of OOP.