Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ctdonath
on Jan 27, 2015
|
parent
|
context
|
favorite
| on:
Main is usually a function – when is it not?
On a possibly comparable note: in C++, programs can be run entirely from the constructors of static global objects ... letting one write a program with
#include "X.h" X x; void main(){}
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: