3 ms·
That's a consequence, not a cause. Python survived the 2->3 transition because Python was already in a dominant position and heaps of programs had to work, for
by shakow 4y ago
That's a consequence, not a cause.
Python survived the 2->3 transition because Python was already in a dominant position and heaps of programs had to work, for better or for worse.
For a language with a lesser adoption, such a transition would have been a death warrant.
- eternalban 4y agoEvery language community apparently craves “pain” in some aspect of their chosen golden hammer while simultaneously pointing fingers at other languages and their pain points. There is an element of masochism to programming that is often overlooked. (Sometimes this manifests as sadistic tendencies inflicting pain on the user.) Python is so painless at the source level that naturally the required pain had to be injected elsewhere. Of course no one can touch the JavaScript community as far as programming masochism is concerned.
- rcarmo 4y agoThe 2-3 transition was a non-issue to a lot of people, and a major stumbling block for folk who staunchly avoided any kind of change to their codebase. But I don't think Python was already in a dominant position -- many people switched stacks. However, for me there are two key points around it: 1) it's over and done with 2) it wasn't that big of a deal if you planned for it. 90% of the things I was working on just worked with minor changes. The rest was mostly a matter of a few critical dependencies that had to be refactored around.
- shakow 4y ago> The 2-3 transition was a non-issue to a lot of people, It was a non-issue for relatively small scripts. But if you were dependent on non-converted libraries, or e.g. if you handled a lot of non-English strings, it could get iffy very fast – and blow up in your face months later, in a rarely used code path. > don't think Python was already in a dominant position IME, it was very much in a, if not dominant, at least powerful positions everywhere. It was roaring in webdev, most of academia had switched from Perl to Python, ML/DS were starting to seriously take off outside of research, and it was winning the war against Ruby for the goto language for quick 'n dirty between-bash-and-C programs & scripts.