3 ms·
Last project I did was mainly procedural and that's my default go-to type of structure but OO has its place too. For example in that last one, i had few object
by rasjani 9y ago
Last project I did was mainly procedural and that's my default go-to type of structure but OO has its place too. For example in that last one, i had few objects that implemented same functionality but with different data structure. So if I wanted to later on add new data structure, just adding a new class with predefined and partly dynamic features, I'd only need to implement a new class.
For data iteration, i prefer functional style (even in python, even after years list comprehension just feels so wrong).