3 ms·
I do most of my current work in Python, and I have no problem switching between paradigms within the language. Whatever makes it easier to read is how I look at
by Kapura 14y ago
I do most of my current work in Python, and I have no problem switching between paradigms within the language. Whatever makes it easier to read is how I look at it.
There are times when a functional solution makes the most sense, and if it makes the most sense, it should be clear and easy to read and understand. But then there times when a functional solution looks like a symbolic mess, and it's easier just to throw a couple of for loops into the code so it's easier to see that i'm, say, iterating through some list.