4 ms·
> especially in contrast with c and other languages that shoehorn you into defining a main function i don't think that's a problem in languages with namespaces
by uryga 6y ago
> especially in contrast with c and other languages that shoehorn you into defining a main function
i don't think that's a problem in languages with namespaces/modules -- a module might define a main(), it just wouldn't be used when it's imported. (unless you're in C, then you'd get a name clash)