| |||||||||||
| |||||||||||
Sludge off the mountain, and Python and PHP
Is Python 2.3 compatible with version 2.2? How about PHP 5.1 with PHP 4.4?
In an ideal world, the answer to every such compatability question would be "yes, it is" but it's not always quite that simple. Python's upwards compatability is excellent - as a language, it was designed for the purpose for which it's used to this day, and it's not overburdened with facilities, especially redundant ones, that make onward extension awkward. PHP, alas, started as "Personal Home Pages: and has grown to something much more powerful ... meaning that a few of the (then excellent) early decisions have had to be revisited and there have been a few compatability issues - sometimes solved via the php.ini configuration file. (register_globals and magic_quotes come to mind ...). However, there's always the exception to disprove the rule ... and I've been talking about Python compatability today, and how the "yield" keyword was added for generators. "That would only be a problem if you happened to have a variable of that name" says I. "We do, quite often" says one of my trainees. "We're very often forcasting the yield of sludge running off a mountain in wet weather" (written 2006-11-27 18:28:34) Associated topics are indexed under H101 - Introduction to PHPY101 - Introduction to Python Y105 - Python - Functions, Modules and Packages
Some other Articles
Christmas in NovemberComing from London to Melksham by train for a course What happened at Geekmas Python and the Magic Roundabout Sludge off the mountain, and Python and PHP Running an on line campaign What is an SQL injection attack? Look around this mouth. Code quality counts Just ******* Google it 1638 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 at 50 posts per pageThis is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price. Link to Ezine home page (for reading). Link to Blogging home page (to add comments). |
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho | |||||||||||