Re:3rd Edition of Programming: Principles and Practice Using...
by steve1977 on Friday April 19, 2024 @01:03PM
(#40089282)
I think Python fell victim to the Peter Principle. It got promoted beyond its competence.
[ Parent
| on HN ]
Re:3rd Edition of Programming: Principles and Practice Using...
by germandiago on Friday April 19, 2024 @03:55PM
(#40091300)
Python does well for several reasons.
Some that come to my mind: its versatility binding native code and its easy-to-fit in your brain mental model for many tasks. The fact that you can script with Python without a compilation step also helped a lot to spread its popularity I think.
Re:3rd Edition of Programming: Principles and Practice Using...
by rightbyte on Friday April 19, 2024 @06:11PM
(#40092480)
The way you define the entry point function is so bizarre I assume scripting was the original use case.
Re:3rd Edition of Programming: Principles and Practice Using...
by germandiago on Saturday April 20, 2024 @04:21AM
(#40095741)
Could be. But it also gives you the flexibility to set tests inside the module files.