Python 3 is killing Python

Steven D'Aprano steve at pearwood.info
Wed Jul 16 03:33:03 EDT 2014


On 2014年7月16日 14:20:37 +1000, Chris Angelico wrote:
> On Wed, Jul 16, 2014 at 1:51 PM, Steven D'Aprano
> <steve+comp.lang.python at pearwood.info> wrote:
>> Perhaps the *stupidest* thing the author of the "Python 3 is killing
>> Python" blog post wrote was that it's easier to port Python code to a
>> *completely different language*. I cannot fathom the idiocy of somebody
>> who bitches and moans that having to re-write or redesign, oh, let's
>> conservatively say 5% of your Python 2 code is harder than writing your
>> code *completely from scratch* in a completely different language, with
>> completely different third party libraries.
>> There's only one way that it's easier to port to a completely new
> language. Pick another language where string handling is as naive as my
> last boss

But even then, you still have to re-write all your code in the new 
language. Using different libraries. All your unit tests are obsolete 
(although your integration tests may not be). End-user documentation will 
probably be re-usable, but documentation aimed at your developers will 
need to be re-written.
-- 
Steven


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /