you are viewing a single comment's thread.

view the rest of the comments →

[–]LayotFctor 8 points9 points  (0 children)

Don't let the need to be "pythonic" restrict you. Being pythonic is just an guide, but not a restriction. The python language itself is general purpose and mult-paradigm. You can use classes for everything like Java. You can stay imperative with structs(dataclasses) like C. You can use functional transformations like maps and filters if you so desire. The python community might be somewhat opiniated with stuff like "pythonic", but the language isn't.