Computer Programming for Everybody Using Python
Ursus Maximus writes "Python City, formerly known as the Python Liberation Front, is an attempt to further Guido van Rossum's dream of making computer programming accessible to any intelligent person. Featuring more than 20 detailed reviews of programming books,presented from a newbie's point of view, as well as links to 14 tutorials for learning Python, the site is a good starting point for folks interested in scripting. In addition, you will find an online interactive script for Choosing Your Own Programming Language, based on one's own preferences, expectations, and priorities, While the script is written in JavaScript, there are no apologies for any perceived bias towards Python ;-)))). You will also find several interesting and fun GPL'ed scripts such as askMerlin, an online, artificially intellgent Oracle; DecisionAnalysis, to help you make up your mind; and myGale, a webcrawler to routinely collect all online articles about Python. Add in a dash of Monty Python humor and newbies will find learning Python to be not only painless but indeed, fun!"
Cool site, but be sure to skip the rant under the first link titled "Farnham's Freehold". I sure wish I had. The sci-fi novel was too good to be trivalized in this manner.
The choose your language script is fun, but hopelessly biased towards Python. For anyone interested in learning Python, though, the links to so many tutorials and book reviews could be priceless.
I gotta admit, Python is a retty good language; as easy to learn as any I've ever found, yet powerful.
==> http://www.awaretek.com/atesterea.html
Alright, so Perl is a language there, and gets a score, but for all my trying, I can't get it to be the number one language for me, what gives?
Other than that, this is useful information, a good site.
c isn't very far off, if you increase the speed of execution expectation it'll eventually say, ok you need C/C++
GOOD? Are you kidding me? It's a libertarian wankoff manifesto. Just like almost all of Heinlein's work.
Is your company running tools written by ma
The results were quite simply amazing: some of the more precocious students were writing GTK applications by the end of the semester. The slower students stuck to the prescribed assignments (the usual checkbook balancing software and such) - yet nobody had any serious problems learning the language because it was very intuitive. At the end of the course, we had the students design and implement a piece of software on a written exam, and I am pleased to say that nobody produced less than C-grade work.
freebsd guy
or wot?
selecting the maximum for all the questions, yields
python as the language for you. selecting the *minumum* also return python.
How can python be on both extremes of language criteria?
something is flawed here.
That's right, LISP. Is that bias or what?
;)
So what is LISP anyway?
See Kent Pitman's interview for more information on Lisp. Scheme is a similar language or a Lisp dialect. It's very easy to learn if you're coming at it with no prior programming experience, but its syntax is different from what most programmers are used to. That's why it has a hard-to-learn reputation among programmers. Also because it's typically used in Computer Science courses where difficult concepts are taught.
It comes up first only because the JavaScript code for that page has no provision for ties.
After using Python for a while, it became eminently clear to me that it's essentially a write-only language. It's very easy to write programs in it because of its highly unsafe type system, etc. It's like human speech--highly ambiguous, which makes it very useful. The problem is, reading or analyzing programs in it for later maintenance is practically impossible. What type does this function return again? Oh, it depends? On what? Oh, the code? Grmph.
Many times, my friends in college will ask me for help on their programming projects, which are all done in C++ or Java. They miss the concept behind many structures and techniques, because they spend much of their time on syntax problems. I think Python would be a great language to teach college freshman as an introductory course to programming. Python is lighter on the syntax, which gives students a greater focus on the concepts behind programming. Then later in their college career, they could move into C++ having already learned the concepts of programming.
;)
Not only would it be much easier for students to move into C++ after having learned Python, but students would also be able to easily move into any language such as Java, etc. And just for the record, I find it much easier, funner, and faster to program using Jython than Java itself
python >>>
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))
The article, erm .. the FAQ, or better the interview, claimed that there is only one VM using stack oriented code, the JVM.
/. forgot the exact name) are the only VMs using register based code.
... wasn't that pointed out in that meeting about "lightweight languages" at MIT, reffered under Developers at /. ?
Unfortunatly nearly all VMs used stack oriented code, e.g. SmallTalk, UCSD Pascal, LISP.
So the Parrot VM and the new Internet C++ (discussed on
He he, the article referes to the 68k emulator in PPC.
And it claimes that register based VMs can interprete bytecode faster than stack based VMs.
In principle thats true. Over ten years ago I wrote two interpreters. Both basicly only could evaluate expresions like a + b * c, and so on.
I invented a stack based assembler and a register based assembler. Then I wrote an interpreter for each. The register language was interpreted about 30% to 50% faster than the stack based language.
BTW: I used UCSD Pascal, a stack based VM, on an Apple ][.
However meanwhile I discovered some tricks how stack based operations are equaly fast, or if you take into account the opcode size of register based code versus stack based code (the name byte code comes from the fact that stack based code often only needs one byte per operation) and the memory accesses for that I think both concepts are equaly fast.
The real problem comes when the code is compiled to native code. Then the mapping between virtual registers and hardware register is often more intuitive than the mapping of stack positions to hardware registers.
However, for both the community of compiler crafters has well understood approaches.
Unfotunatly the language designers, cough cough, tend to ignore academic knowledge
angel'o'sphere
Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.