3 ms·
When I have an option, I program in a procedural style. The code is easier to maintain and follow this way. For side projects and for small Python code at work
by fpoling 9y ago
When I have an option, I program in a procedural style. The code is easier to maintain and follow this way.
For side projects and for small Python code at work recently I have been applying data-oriented programming patterns. So far they worked surprisingly well.
Perhaps this is because one have an overview of the whole program state that is not hidden behind multiple layers of OOP abstractions and there is no mix between data and code, as happens with functional style.