Python is a clear and powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, or Java.
Some of Python's notable features:
* Uses an elegant syntax, making the programs you write easier to read.
* Is an easy-to-use language that makes it simple to get your program working. This makes Python ideal for prototype development and other ad-hoc programming tasks, without compromising maintainability.
* Comes with a large standard library that supports many common programming tasks such as connecting to web servers, searching text with regular expressions, reading and modifying files.
* Python's interactive mode makes it easy to test short snippets of code. There's also a bundled development environment called IDLE.
* Is easily extended by adding new modules implemented in a compiled language such as C or C++.
* Can also be embedded into an application to provide a programmable interface.
* Runs on many different computers and operating systems: Windows, MacOS, many brands of Unix, OS/2, ...
*
Is free software in two senses. It doesn't cost anything to download or use Python, or to include it in your application. Python can also be freely modified and re-distributed, because while the language is copyrighted it's available under an open source license.
Name:
Anonymous2009-03-19 4:05
Python is an obfuscated and weak object-oriented programming language, comparable to Perl, Ruby, or Java.
Some of Python's notable features:
* Uses a problematic syntax based on invisible whitespace, making the programs you write harder to read.
* Offers no facilites for metaprogramming, making it useless for anything other than calling library functions.
* Is slow as fuck.
*
Is free software in two senses. No one would pay for Python, so it doesn't cost anything to download or use Python, or to include it in your application. No one could in good conscience ask for money for Python either.
>>2
* Function calls are extremely slow, so you have to write huge unmaintainable functions if you want performance that's not 10 times slower than slow as fuck java. This makes it completely useless for calling library functions, too.
Name:
Anonymous2009-03-19 4:24
>>5
The point is that java requires you to write over 9000 lines of code just for reading a goddamn file. Do it in FIOC and rule them all.
In the second place java is polluting all the fuckin' programming world with all those J placed in the name of all java application. It never integrates with the system without making its own way, and reinvents the wheel. Java simply sucks.
And you didn't read my post faggot. I'm not talking about execution speed, but about *Code Writing* speed. If you need a fast language use C/C++, and forget about virtual machines.
>>8
i think i'll stick with my c#, which runs about as fast as c compiled with gcc, and has a lot of nice things python lacks.
Name:
Anonymous2009-03-19 5:16
>>9
i like C#.
but one thing i cannot understand is WTF IS WITH THIS SHIT? for(;;)
{
//do something
}
WHY WOULD YOU DO THAT? for(;;){
//do something
}
is waaay superior
>>10
this is superior: public static IEnumerable<BigInteger> fibs()
{ BigInteger tmp, a = 0, b = 1;
for(;;)
{ yield return a;
tmp = a; a = b; b += tmp; }}
Python is full of abstract bullshit like metaclasses and decorators, stores text as the bloated-as-fuck unicode, forces you to indent your code, tries to cram everything little thing people could need into the standard library, and the Python community is chock full of pretentious wankers that blindly follow the official coding style guide and try to make their code ``Pythonic``.
Moreover, it's developed in some sort of Nazi-fascist scheme where their ``Dictator`` takes decisions, and delegates control of releases to only his trusted subordinates. This is far inferior to the bazaar-style community efforts that have brought us e.g. Perl and Hurd.
>>18 stores text as the bloated-as-fuck unicode
Blatant lie. All Python versions prior to 3.0 (nobody will ever use 3) use C strings internally.
Name:
Anonymous2009-03-19 15:56
>>8
Why use a language with slow execution speed when there are better languages that are both faster to develop in and execute? Python, like Sepples, is a "solution" looking for a problem.
Name:
Anonymous2009-03-21 0:43
GREEEEEEN
Marijuana MUST be legalized.
BBCodeMASTERSsmoke WEED!
Name:
Anonymous2009-03-21 1:46
python is a fucking fantastic language for learning the basics without having to worry about type casting, memory allocation, pointer arithmetic, and all the other stuff that made C too intimidating as a complete noobie, after learning python learning C was much much easier.. Yes python sucks for guis it sucks for games and its sucks for anything more then the most arbitrary programs, however if i need to quickly hack up a install program that runs on any platform it does the job.
one downside is it made me reliant on the interpreter to test programs and as a result i compile after every change i make and have little confidence in writing a large chunk of code without testing it every step of the way.
>>22
c# has all the advantages of python and none of the disadvantages.
Name:
Anonymous2009-03-21 2:10
>>22 one downside is it made me reliant on the interpreter to test programs and as a result i compile after every change i make and have little confidence in writing a large chunk of code without testing it every step of the way. Oh, no! Python encourages you to program like a non-retard‽
Name:
Anonymous2009-03-21 2:11
>>23
unfortunately i dont think c# will run on AVR MC's but yes ill look into it, its a language iv never really investigated
>>24
Wait, what?
Test as you go is the worst design philopsophy. Ever. If somebody can't write a program that nearly works from scratch, and then quickly do a ten minute bug hunt when they are done to produce a working product. They should find another major. And no I don't mean an entire software solution or next generation game or operating system. I mean the chucks that in themselves warrant being named as seperate peices- though I have been a bit relaxed in the definition because lets face it. Who is writing a peice of software that has multiple parts and is actually a software engineering challenge in python anyway?
Test as you go is the worst design philopsophy. Ever. If somebody can't write a program that nearly works from scratch, and then quickly do a ten minute bug hunt when they are done to produce a working product.
This would be terrible if it is intended to be a design philosophy. This method is fine as a development philosophy, more specifically using the rapid application development model. Python is a fine choice if the decision is made to do rapid application development.
Name:
Anonymous2009-03-21 11:17
>>27
There's no point doing a stupid bug hunt instead of just making sure you wrote what you meant to in the first place. You should always test functions as you write them.