Python
by
, 02-06-2009 at 05:29 PM (973 Views)
Wow. I have had an great experience lately. I've been working with a python script and been customizing it for a few days. And Python does have potential, oh yeah!
I find the language easy to program in, most of the time, but it has many special things that isn't so easy. I have troubles finding good documentation. python.org is not especially good source for good python documentation, if you compare it to php.net for example.
It's understandable as it's more third party contributions and another project set up, but I think, that to help improving this language, a clear documentation site, where all contributors can add in a normalized documentation on their module, then the eaze will rise tremendously.
The module system isn't that bad actually, and might be something that even could be something for php in the future, as the interpretor should become lots faster with less loaded, but it needs to be performed in a great way, with a standardized installation matter etc. there are modules today, like PEARWiki and PECLWiki, but it feels a lot like they are less worth in the php community, besides what's included into core php. The feeling is that what wasn't approves as built in functions in php, was created in a PEAR or PECL version, which really not comes up to the normal standards of php.
PHP could also modulirize better. I see no reason to automatically load all modules for every thinkable database each run, but instead easily add in them in the start of the script, even though they are shipped as standard.
But back to the language it self.
Being easier to write and read, compulsory indents instead of opening and closing brackets actually worked really great. just make sure the editor don't intent with spaces. Disadvantages is that it seems to have many special meaning characters that I'm not that used to with php. a colon seems to have special meanings. You end a list of variables with a comma, and the whole thing gets another meaning. the print command adds a newline unless you end the line with a comma. made me crazy trying to make a reasonable output before realizing that.
The language seems to be object oriented, but still not really. maybe it is but you don't think of it that way.
Well well, on the whole, I think it has great potentials, but I think needs to be better and easier accessed documentation.










