|
|
|
|
|
by nuclx
2624 days ago
|
|
I don't care so much about writing idiomatic code anymore. For example I tend to write python like javascript. Mostly only use lists and dicts (JSON basically), while ditching the whole OOP/class concepts for the most part. What I prefer is more or less a language-independent style, which makes it easy to port code at least between languages with similar paradigms. |
|
that is exactly how you are supposed to write idiomatic python