Poster | Thread |
Moxee
| |
Re: New Python v3.0 will not be backward-compatible Posted on 16-Oct-2008 3:39:22
| | [ #1 ] |
|
|
|
Team Member |
Joined: 20-Aug-2003 Posts: 6291
From: County Yakima, WA State, USA | | |
|
| Yes, we all know, "this has to be done sometimes."
____________________ Moxee _________________ Moxee AmigaOne X1000 AmigaOne XE G4 I'd agree with you, but then we'd both be wrong.
|
|
Status: Offline |
|
|
_PAB_
| |
Re: New Python v3.0 will not be backward-compatible Posted on 16-Oct-2008 9:02:30
| | [ #2 ] |
|
|
|
Regular Member |
Joined: 20-Sep-2003 Posts: 189
From: Germany | | |
|
| I really hope that the Pythonians gave up the seventies style of syntax (identation based blocks) - this is (was?) crap. Need to check that documentation link...
Edit: Naaarf: "Leading whitespace (spaces and tabs) at the beginning of a logical line is used to compute the indentation level of the line, which in turn is used to determine the grouping of statements."
Python = No-Go. Last edited by _PAB_ on 16-Oct-2008 at 09:07 AM. Last edited by _PAB_ on 16-Oct-2008 at 09:06 AM. Last edited by _PAB_ on 16-Oct-2008 at 09:02 AM.
_________________
|
|
Status: Offline |
|
|
itix
| |
Re: New Python v3.0 will not be backward-compatible Posted on 16-Oct-2008 9:44:24
| | [ #3 ] |
|
|
|
Elite Member |
Joined: 22-Dec-2004 Posts: 3398
From: Freedom world | | |
|
| I guess this means that Python is dead fish now. _________________ Amiga Developer Amiga 500, Efika, Mac Mini and PowerBook
|
|
Status: Offline |
|
|
Leo
| |
Re: New Python v3.0 will not be backward-compatible Posted on 16-Oct-2008 10:14:27
| | [ #4 ] |
|
|
|
Super Member |
Joined: 21-Aug-2003 Posts: 1597
From: Unknown | | |
|
| Quote:
I guess this means that Python is dead fish now.
|
I guess not.
Python 2.6 is there to make migration easier...
Much like some APIs were created to make the migration to macosx easier... and guess what ? MacOS has never been so alive than now... Guess breaking backward compatibility wasn't that bad...Last edited by Leo on 16-Oct-2008 at 10:16 AM.
_________________ http://www.warpdesign.fr/
|
|
Status: Offline |
|
|
_PAB_
| |
Re: New Python v3.0 will not be backward-compatible Posted on 16-Oct-2008 10:36:06
| | [ #5 ] |
|
|
|
Regular Member |
Joined: 20-Sep-2003 Posts: 189
From: Germany | | |
|
| Sorry, but Python had a dead fishy smell for me since its beginning... even more than Fortran90. _________________
|
|
Status: Offline |
|
|
Rogue
| |
Re: New Python v3.0 will not be backward-compatible Posted on 16-Oct-2008 10:44:57
| | [ #6 ] |
|
|
|
OS4 Core Developer |
Joined: 14-Jul-2003 Posts: 3999
From: Unknown | | |
|
| @_PAB_
Scripting languages are much like religion - you can easily start a holy war about them. I mean, there are supposedly people that (*gasp*) like PERL! Can you imagine? I can't, really.
Having said that, I cannot really understand why Python had to stick with the indention scheme, it's a hassle especially with tabs and spaces.
Time to start looking at Ruby after all, I guess. _________________ Seriously, if you want to contact me do not bother sending me a PM here. Write me a mail
|
|
Status: Offline |
|
|
Leo
| |
Re: New Python v3.0 will not be backward-compatible Posted on 16-Oct-2008 11:01:00
| | [ #7 ] |
|
|
|
Super Member |
Joined: 21-Aug-2003 Posts: 1597
From: Unknown | | |
|
| Quote:
Having said that, I cannot really understand why Python had to stick with the indention scheme
|
it makes you write clean code. It goes very well with the language's philosophy. _________________ http://www.warpdesign.fr/
|
|
Status: Offline |
|
|
broadblues
| |
Re: New Python v3.0 will not be backward-compatible Posted on 16-Oct-2008 11:35:29
| | [ #8 ] |
|
|
|
Amiga Developer Team |
Joined: 20-Jul-2004 Posts: 4447
From: Portsmouth England | | |
|
| |
Status: Offline |
|
|
RodTerl
| |
Re: New Python v3.0 will not be backward-compatible Posted on 16-Oct-2008 11:50:33
| | [ #9 ] |
|
|
|
Cult Member |
Joined: 6-Sep-2004 Posts: 589
From: Rossendale | | |
|
| And, whats wrong with Regina REXX? 8)
Should it be enforced, that is a new product is deliberately non comptible, with no emulation or translation sub layer, to its predecessors, then by being a totally different product, it should be named, called, and used as such?
That is, you can run as old code as you like, if you bother to include the required support code, but wouldnt properly written emulation layers be selectable, instead of constantly bloating to core code? How does AOS 4.x etc handle 68k code?. Is it a compiled in module, or is it like a seperate library code, that on pure PC native systems can be left out for speed and compactness?
Its done the same with Windows ME.. Python 2.6 is the last that will work on this thing.. What is the special code that demands Windows XP to actually run on?.. isnt Python an intrepreted scripting language, and so like Arexx, classic Basic etc?
Sorry bout that 8(. I cant tell the difference 8( Im useless at languages 8(
RodTerl
rx `say "Hello"` say Hello _________________ The older and more respected a scientist is, the longer it takes to prove him wrong.
|
|
Status: Offline |
|
|
TMTisFree
| |
Re: New Python v3.0 will not be backward-compatible Posted on 16-Oct-2008 12:04:34
| | [ #10 ] |
|
|
|
Super Member |
Joined: 6-Nov-2003 Posts: 1487
From: Nice, so nice | | |
|
| @Rogue
Why not enhance what we have and which works, ARexx?
Bye, TMTisFree _________________ The engineering approach to our non-problems: "build a better washer". The scientific approach to our non-problems: "find a new energy source". The environmentalist approach to our non-problems: "stop washing your shirts".
|
|
Status: Offline |
|
|
TMTisFree
| |
Re: New Python v3.0 will not be backward-compatible Posted on 16-Oct-2008 12:09:17
| | [ #11 ] |
|
|
|
Super Member |
Joined: 6-Nov-2003 Posts: 1487
From: Nice, so nice | | |
|
| @Rogue
Add AWNPipe on top of that and you have an easy lo learn language (ARexx) with the ability to make Reaction-driven programs for beginners. At least that how I began.
Bye, TMTisFree _________________ The engineering approach to our non-problems: "build a better washer". The scientific approach to our non-problems: "find a new energy source". The environmentalist approach to our non-problems: "stop washing your shirts".
|
|
Status: Offline |
|
|
yak
| |
Re: New Python v3.0 will not be backward-compatible Posted on 16-Oct-2008 12:51:18
| | [ #12 ] |
|
|
|
Regular Member |
Joined: 15-Mar-2006 Posts: 322
From: Bochum, Germany | | |
|
| You can't really compare ARexx/Rexx to Python. It's like comparing Basic to Java. Just look at the procedures in Rexx and what you have to do to access global variables for example. It's horrible. Python is clean, and 3.0 is even cleaner. The indentation is an issue only for people not knowing the language. I know it was for me. Until I started using it. I just wrote the code the way I'm used to (indenting to keep it readable) and it worked.
Python is far from dead. It's not the language of choice you want to use for desktop applications but it's being heavily used on servers and in the industry.
You choose different languages for different tasks. Python has its purpose too. |
|
Status: Offline |
|
|
miksuh
| |
Re: New Python v3.0 will not be backward-compatible Posted on 16-Oct-2008 14:36:41
| | [ #13 ] |
|
|
|
Cult Member |
Joined: 10-Mar-2003 Posts: 731
From: Espoo, Finland | | |
|
| Really stupid move from the Python developers. Who they think will use that incompatible new version? Do they really think that eg. Linux distros will move to Python 3.0? I severyly doubt it, because it would create complete mess. It was hard enough to switch from python 2.4 to 2.5. Now if 3.0 is backward incompatible with earlier versions, then upgrading to it would brake everything. Python is used a lot in Linux. Last edited by miksuh on 16-Oct-2008 at 02:45 PM. Last edited by miksuh on 16-Oct-2008 at 02:40 PM.
|
|
Status: Offline |
|
|
bison
| |
Re: New Python v3.0 will not be backward-compatible Posted on 16-Oct-2008 15:10:16
| | [ #14 ] |
|
|
|
Elite Member |
Joined: 18-Dec-2007 Posts: 2112
From: N-Space | | |
|
| Quote:
Really stupid move from the Python developers. Who they think will use that incompatible new version? Do they really think that eg. Linux distros will move to Python 3.0? |
2.6 is the transition version to 3.0.
http://docs.python.org/whatsnew/2.6.html _________________ "Unix is supposed to fix that." -- Jay Miner
|
|
Status: Offline |
|
|
bison
| |
Re: New Python v3.0 will not be backward-compatible Posted on 16-Oct-2008 16:23:55
| | [ #15 ] |
|
|
|
Elite Member |
Joined: 18-Dec-2007 Posts: 2112
From: N-Space | | |
|
| Quote:
it makes you write clean code. It goes very well with the language's philosophy. |
Yeah, I can write clean curly-brace code, but nobody else can.
If I have to wade into someone else's code and figure it out, I'd rather it be Python than anything else.Last edited by bison on 16-Oct-2008 at 04:24 PM.
_________________ "Unix is supposed to fix that." -- Jay Miner
|
|
Status: Offline |
|
|
bison
| |
Re: New Python v3.0 will not be backward-compatible Posted on 16-Oct-2008 16:28:03
| | [ #16 ] |
|
|
|
Elite Member |
Joined: 18-Dec-2007 Posts: 2112
From: N-Space | | |
|
| |
Status: Offline |
|
|
itix
| |
Re: New Python v3.0 will not be backward-compatible Posted on 16-Oct-2008 18:11:04
| | [ #17 ] |
|
|
|
Elite Member |
Joined: 22-Dec-2004 Posts: 3398
From: Freedom world | | |
|
| @Lea
Quote:
Quote:
I guess this means that Python is dead fish now.
|
I guess not.
Python 2.6 is there to make migration easier...
|
But if old version of Python works why bother with incompatible future versions? It is not like old versions stop magically working and one can always fork development and continue development from 2.5/2.6 version.
We probably see old and new python versions used in parallel...
Quote:
Much like some APIs were created to make the migration to macosx easier... and guess what ? MacOS has never been so alive than now... Guess breaking backward compatibility wasn't that bad...
|
At the same time they faced two HW platform jumps. Python is different... it is not magically obsoleted. _________________ Amiga Developer Amiga 500, Efika, Mac Mini and PowerBook
|
|
Status: Offline |
|
|
Snuffy
| |
Re: New Python v3.0 will not be backward-compatible Posted on 17-Oct-2008 17:19:59
| | [ #18 ] |
|
|
|
Super Member |
Joined: 25-Oct-2005 Posts: 1121
From: Michigan, USA | | |
|
| Python is different... it is not magically obsoleted It's faster and easier in python 2.5.1, than working with old crappy BCPL! _________________
|
|
Status: Offline |
|
|
bison
| |
Re: New Python v3.0 will not be backward-compatible Posted on 17-Oct-2008 20:24:59
| | [ #19 ] |
|
|
|
Elite Member |
Joined: 18-Dec-2007 Posts: 2112
From: N-Space | | |
|
| Quote:
It's faster and easier in python 2.5.1, than working with old crappy BCPL! |
BCPL was before my time (I'm not THAT old), but I think I would have liked it.
An interesting historical note:
A lot of C came from BCPL, via Ken Thompson's B. This includes the overloaded "break" keyword used in a switch case statement. But as it turns out, Ken Thompson based B on an older version of BCPL; newer versions replaced "break" in the context of a case statement with "endcase." So in newer version of BCPL (by which I mean from the late 60's) you could break from a switch statement contained within a loop without using extra control-flow variables or goto statements. And here we are 40 years later, with C, C++, Java, PHP, etc. still using an overloaded break statement!
Anyway, I thought you'd want to know that. Back to work.
Example:
http://www.visi.com/~clar0193/bcpl.txtLast edited by bison on 17-Oct-2008 at 08:43 PM.
_________________ "Unix is supposed to fix that." -- Jay Miner
|
|
Status: Offline |
|
|