Hacker News new | ask | show | jobs
by ctdonath 4155 days ago
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(){}