Re: Procedure main

new topic     » goto parent     » topic index » view thread      » older message » newer message
irv said...

Dropped by https://github.com/OpenEuphoria/euphoria.

Example programs seem to be written by someone who doesn't use Euphoria. Every example encapsulates the main body of the program as a procedure, and then calls it.

Well they were written by me... do you consider me a Euphoria user? You're telling me you don't do this? Is this not common? It seems intuitive to me. Suggestions and changes are welcome at any time.

irv said...

Trying to make Euphoria look like Python?

I guess when you write code in ten different languages and most of them require a main function, you end up carrying your habits around between languages. But I definitely didn't get this habit from Python.

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu