3 ms·
Bit snarky, but all I got from this post is "because it doesn't." Many languages don't require a main function. In fact, the earliest languages like LISP (and e
by leoh 6y ago
Bit snarky, but all I got from this post is "because it doesn't." Many languages don't require a main function. In fact, the earliest languages like LISP (and even punchcards!) don't require it, let alone many other languages like BASIC, awk, etc. The presence of a main function in later languages is, in a way, the outlier.
- tdeck 6y agoFORTRAN does not require one either, as you can see in this example: http://www.99-bottles-of-beer.net/language-fortran-77-264.html http://www.99-bottles-of-beer.net/language-fortran-77-264.ht...