Re:An exploration of why Python doesn't require a 'main' fun...
by leoh on Tuesday July 21, 2020 @02:35PM
(#23909500)
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.
[ Parent
| on HN ]
Re:An exploration of why Python doesn't require a 'main' fun...
by tdeck on Tuesday July 21, 2020 @05:11PM
(#23911045)
FORTRAN does not require one either, as you can see in this example:
http://www.99-bottles-of-beer.net/language-fortran-77-264.ht...