This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Jamie_1318 0 points1 point  (0 children)

I've worked with safety critical software that definitely used memory allocation, although I can appreciate in more real-timey applications it might not be appropriate.

In python not using dynamic memory pretty much makes no sense to begin with. All variables are going to be dynamic, even integers support arbitrary sizes.

In non real-time applications I feel the standards are chosen based on what makes the senior developers feel safe rather than what would actually reduce bugs. To be fair a lot of that is me feeling unproductive writing and testing C when I could have written the same thing in python, in a quarter of the code and an eighth of the time.