Y
Hacker News
new
|
ask
|
show
|
jobs
by
dmritard96
4157 days ago
In python it is still a function but it is also an object?
2 comments
ekimekim
4157 days ago
Well more properly python doesn't have a "main" function. You just directly execute the initial script, which will import other modules, define functions and classes, etc, and finally (hopefully) execute something.
link
jarcane
4157 days ago
In C# main() is a method attached to the main Program class.
link