4 ms·
I think that "pythonic" does mean something, and that when they say "pythonic" they are actually trying to communicate something. JS and Java... well they're n
by traverseda 8y ago
I think that "pythonic" does mean something, and that when they say "pythonic" they are actually trying to communicate something.
JS and Java... well they're not something I think a lot of programmers want to be. JS has a pretty complicated ecosystem that a lot of developers don't like. Java is good at what it's good at, but it's not very fun.
What I see a lot of is "lisp" or "lisp-like" and "pythonic". Those languages are notable for being considered fun by a lot of programmers.
But yes, it's idiomatic. Python is an idiomatic programming language that has sacrificed a lot for that ideology. Now that guido is gone it's less ideological, and we're getting things like type-hinting.
When people try to apply that same ideology to other fields, sometimes they call it pythonic. When they try to apply the lisp ideology to other fields, they just call it a lisp dialect instead of lisp-ish.
- miohtama 8y agoGuido was working on Dropbox with Python. One of areas was type hinting (of large Dropbox Python codebase), so it is partially coming from him. Learnt this in Pycon 2014 if I recall correctly.
- bakery2k 8y agoThat's right - Guido has been very much in favour of adding type hints to Python. Are type hints Pythonic? I personally don't think so - to me, they don't match the philosophy of the rest of the language. On the other hand, one could argue that the definition of Pythonic is simply "whatever Guido likes".
- nicoburns 8y ago> JS and Java... well they're not something I think a lot of programmers want to be. I actually much prefer modern JS to modern python. JS is flexible enough to allow a functional-ish style, which greatly improves code clarity in my opinion. And of course you can still write python-style code if you want to. Python is a lot more opinionated!