Re:Learn more programming languages, even if you won't use them
by nuclx on Saturday April 13, 2019 @03:59PM
(#19655390)
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.
[ Parent
| on HN ]
Re:Learn more programming languages, even if you won't use them
by friedman23 on Saturday April 13, 2019 @04:10PM
(#19655453)
> 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.
that is exactly how you are supposed to write idiomatic python