Hacker News new | ask | show | jobs
by xiphias2 272 days ago
,,Since an implicitly declared class cannot be accessed from outside, it must always contain a main method.’’

This looks like a hack just for the main file, it would have been good if these functions can be called from other files.