473,395 Members | 2,006 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

backward compatibility?


So how serious are plans to remove things from Python, like
lambda and map and reduce? I am just starting out with Python
and if there is a danger that the programs I write today won't
work next year, I rather invest my time in another language. I
might try Ruby, or stick with Perl.
--
Peter Kleiweg L:NL,af,da,de,en,ia,nds,no,sv,(fr,it) S:NL,de,en,(da,ia)
info: http://www.let.rug.nl/~kleiweg/ls.html

Jul 18 '05 #1
5 1688
>>>>> "Peter" == Peter Kleiweg <in*************@nl.invalid> writes:

Peter> So how serious are plans to remove things from Python, like
Peter> lambda and map and reduce? I am just starting out with Python

Not very. Talking about it is mostly a way to steer newbies away from
them towards superior approaches (list comprehensions and generator
expressions). Even if the features were removed, they could be
trivially implemented by yourself in python so none of your code would
break. Well, noe lambda but I don't believe it will be removed - too
much code depends on it.

Peter> and if there is a danger that the programs I write today
Peter> won't work next year, I rather invest my time in another
Peter> language. I might try Ruby, or stick with Perl.

Well, if you care about running your code on the new interpreters few
years from now (nobody is going to force you to upgrade - some poor
tossers still use python 1.5.2), Python is the best bet from the
languages you mention. Ruby is going to break compatibility big time
soon (or so I've heard - big rewrite or sth), and perl is going
through the perl6 pains. Python is extremely cautious about breaking
backwards compatibility, sometimes even too cautious for my taste...

--
Ville Vainio http://tinyurl.com/2prnb
Jul 18 '05 #2
In article <Pi*************************************@kleigh.nl >,
Peter Kleiweg <in*************@nl.invalid> wrote:

So how serious are plans to remove things from Python, like lambda and
map and reduce? I am just starting out with Python and if there is a
danger that the programs I write today won't work next year, I rather
invest my time in another language. I might try Ruby, or stick with
Perl.


It's serious. OTOH, they'll stay in the language until Python 3.0 comes
out, and there's nobody forcing you to upgrade. The useful lifespan of
a Python version seems to be about three or four years (my company just
switched from Python 1.5.2 to Python 2.2, so we'll be two full versions
out of date by the end of the year).
--
Aahz (aa**@pythoncraft.com) <*> http://www.pythoncraft.com/

"To me vi is Zen. To use vi is to practice zen. Every command is a
koan. Profound to the user, unintelligible to the uninitiated. You
discover truth everytime you use it." --*****@lion.austin.ibm.com
Jul 18 '05 #3
On 21 Aug 2004 23:42:32 -0400, Aahz <aa**@pythoncraft.com> wrote:
It's serious. OTOH, they'll stay in the language until Python 3.0 comes
out, and there's nobody forcing you to upgrade. The useful lifespan of
a Python version seems to be about three or four years (my company just
switched from Python 1.5.2 to Python 2.2, so we'll be two full versions
out of date by the end of the year).


Note also that Python 3.0 (aka Python 3000) isn't even close to being
started - I suspect we're at least 4 or 5 years from it happening. And
there's still going to be at least a couple more major releases in the 2.x
cycle before then.

See PEP 3000 for the current collection of ideas for Python 3.0.

Anthony
Jul 18 '05 #4
Peter Kleiweg <in*************@nl.invalid> writes:
So how serious are plans to remove things from Python, like
lambda and map and reduce? I am just starting out with Python
and if there is a danger that the programs I write today won't
work next year, I rather invest my time in another language. I
might try Ruby, or stick with Perl.


Won't happen until Python 3.0. When / if 3.0 comes out (more than
five years away), I'm sure people will continue to maintain 2.x for a
long time after that.
John
Jul 18 '05 #5
Peter Kleiweg <in*************@nl.invalid> writes:
So how serious are plans to remove things from Python, like
lambda and map and reduce? I am just starting out with Python
and if there is a danger that the programs I write today won't
work next year, I rather invest my time in another language. I
might try Ruby, or stick with Perl.


Won't happen until Python 3.0. When / if 3.0 comes out (more than
five years away), I'm sure people will continue to maintain 2.x for a
long time after that.
John
Jul 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Vyacheslav Lanovets | last post by:
Hello, All! Installed VS 2005... What is annoying is that project files are not backward compatible. For instance, EVC4 vcp files are backward compatible with EVC3 and can be used...
2
by: Neal Becker | last post by:
How can I write code to take advantage of new decorator syntax, while allowing backward compatibility? I almost want a preprocessor. #if PYTHON_VERSION >= 2.4 @staticmethod ....
1
by: Dev | last post by:
Dear Friends, I have created VC++.NET dll by VS.NET2003.Is it possible to use this dll(vs.net2003) into C# version (Vs.net2002)? Is there backward compatibility? If so ..How do to this?..If...
2
by: Dominic | last post by:
Hi everybody, I'm planning to use serialization to persist an object (and possibly its child objects) in my application. However, I'm concerned about the backward compatibility issue. I'm...
1
by: MLibby | last post by:
I'm a Netscape newbie and am using it for backward compatibility testing. How do I debug javascript in Netscape? I set Netscape as the default debugger (design mode | file | Browse With) and I am...
3
by: Madhu | last post by:
We are having a dll backward compatibility issue since we migrated to .NET 2005. As part of our product, we build a dll which is used by other products. Everything was fine when we were build it...
0
by: bhargav mandlem | last post by:
hi friends i have created VC++.NET dll by VS.NET2003.Is it possible to use this dll(vs.net2003) into C# version (Vs.net2002)? Is there backward compatibility? If so ..How do to this?..If anyone...
2
by: Ernesto Bascón | last post by:
Hi: I've read some about the pimpl idiom and I know that it provides safe ABI backward compatibility on shared libraries. Let's consider the following definitions: template <class T> class...
7
by: Ernesto Bascón | last post by:
Hi everybody: I want to develop a library that uses heavily templates. Is there an idiom or some tips about things that I should care of in order to provide backward compatibility with my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.