[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

about main()

On 07/05/18 05:14, Marko Rauhamaa wrote:
> Abdur-Rahmaan Janhangeer <arj.python at gmail.com>:
>>> * Create as many functions as you can
>> performance?
> Python?
> Seriously, though. The principle of expressive encapsulation is one of
> the basic cornerstones of writing computer programs. Performance barely
> ever becomes a question, and even more rarely has anything to do with
> the number of function calls (low-level programming language compilers
> optimize efficiently).
> The most important objective of software development is the management
> of complexity. Silly performance optimizations are way down the priority
> list.
> Marko

Sadly, this *is* the current mindset.

"Don't bother optimizing, the compiler does it better than you can."

Tell me, who writes the compilers?? When we die off, nobody will have a 
clue how to do it...