Python 2.5 Released 228
dominator writes "It's been nearly 20 months since the last major release of the Python programming language, and version 2.5 is probably the most significant new release of Python since 2.2. The latest release includes a variety of additions to the standard library, language extensions, and performance optimizations. This is a final release, and should be suitable for production use. Read the release announcement, the highlights, what's new, and download it."
Languages continue to evolve into ... Lisp (Score:1, Interesting)
try/except/else/finally (Score:4, Interesting)
try {} catch (...) {} finally {}
What is the point of else? What does it get you that you didn't have just as easily without it? If no exception is thrown, run it? Isn't that what the content in the try section is for? Will someone provide a use case for this for me please?
Re:Easy transition from Python to Ruby? (Score:5, Interesting)
If I moderated, I'd mod this up :)
Seriously, the idioms and conventions of programming in Python and Ruby are the largest differences, not the actual languages themselves:
Et cetera, et cetera. Ruby folks are also big on the arbitrary anonymous blocks, which Python doesn't have, but I've yet to run into a problem I can't solve with a named function, and a lot of the time I end up with cleaner and more understandable code because of it. Which, really, I think is the biggest cultural difference: given a situation where all other things are equal, Ruby focuses on expressiveness (an inherited "there's more than one way to do it" from the Perl in its genes), and Python focuses on clarity and readability.
Re:Languages continue to evolve into ... Lisp (Score:2, Interesting)
Re:Languages continue to evolve into ... Lisp (Score:2, Interesting)
They are "good" because of their will to learn.
Because of their appreciation of code beauty.
Because they like to code.
Bad programmers don't care about coding, they see it as some sort of accounting-like job where you have to crunch symbols and get paid for it.
I didn't meet many bad programmers. I am only 18 and am only in my first programming job and programmers here are selected very carefully.
I only met bad programmers at school. They were the people who tried to copy what the teacher said just to get their grade, and didn't think about coding again until the next lesson.
While the good coders were busy trying to understand why what the teacher said works, what else can be done with that knowledge...
While bad programmers looked at the teacher, the book, or the neighbor good programmer (if they were lucky to have one) for answers, good programmers hacked and hacked until they found the solution
--------
I bought yesterday a poetry book by Charles Bukowski. It cost me a lot of money, more than I could afford, and I could have bought two great SF books by Orson Scott Card for the same price. Why did I buy that book? I read the first poem.
It started:
*so you want to be a writer?*
if it doesn't come bursting out of you
in spite of everything,
don't do it.
unless it comes unasked out of your
heart and your mind and your mouth
and your gut,
don't do it.
if you have to sit for hours
staring at your computer screen
or hunched over your
typewriter
searching for words,
don't do it.
rest here: http://www.poets.org/viewmedia.php/prmMID/16549 [poets.org]