Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
atesti
on March 28, 2012
|
parent
|
context
|
favorite
| on:
On the evolution of programming style: How far C++...
You can mark a class as static, then it will only allow static functions or members:
static class Math { static int Pow(int a,int b) {...} }
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
static class Math { static int Pow(int a,int b) {...} }