Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ginko
on Feb 1, 2022
|
parent
|
context
|
favorite
| on:
The Problem with C (2020)
So just define your classes with struct. ¯\_(ツ)_/¯
Koshkin
on Feb 1, 2022
[–]
But then all your privates will be public by default.
gpderetta
on Feb 2, 2022
|
parent
[–]
As I like to put my privates at the bottom of the definition of a class, having to use the class keyword and then having to put a public access specifier immediately after is fairly annoying :).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: