Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
DeathArrow
on May 30, 2022
|
parent
|
context
|
favorite
| on:
The use of ‘class’ for things that should be simpl...
>A class also acts as a namespace.
Namespaces are stateless, they don't contain variables, they contain just functions.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Namespaces are stateless, they don't contain variables, they contain just functions.