Quote (Muukalainen @ Fri, Oct 2 2009, 04:04pm)
nope, its not.
What are you objecting to here? The fact that metaprogramming is not unique to Python? Or the fact that the Python syntax for metaprogramming loosely resembles the object notation that Javascript uses? Because both of these are pretty clear facts.
Quote (Muukalainen @ Fri, Oct 2 2009, 04:04pm)
Also knowing what a static method in java wont help you generally in python. Because python classmethods resemble the java-static behaviour a lot better. You only get to know these pitfalls when you really deal in-depth with a language. Thats my point. You may know 20 languages, but if you know them as well as you know python, then you dont know much about their details, and you wont even use them anywhere near their potential, hence my point, dont exaggerate. learn one of each _type_ of language, but concentrate your focus as well, dont get lost in diversity.
You're assuming that I only have experience working with object-oriented languages that extend from a C-style syntax. Trust me, when I first picked up Python, I saw immediately where they took inspiration from. I find class methods are actually closer to Haskell. No, they don't look at all alike syntactically.
Quote (Muukalainen @ Fri, Oct 2 2009, 04:04pm)
Ever seen a decorator around a function in Java for example?
They're called "Annotations" --
http://java.sun.com/j2se/1.5.0/docs/guide/language/annotations.html Yes, they are a little different, but guess how much that matters.
Quote (Muukalainen @ Fri, Oct 2 2009, 04:04pm)
Byte compiler optimizations dont have anything to do with normal optimization, once again.
Whatever you say. They couldn't at all resemble externs from C, flags in GCC, HotSpot and they certainly couldn't have taken lessons from Ocaml bytecode optimization, could they? PYTHON IS NOT GOD. Every language takes things from other languages. The underlying knowledge
always translates, even if the syntax does not.
Quote (Muukalainen @ Fri, Oct 2 2009, 04:04pm)
you were wrong in all your points, which obviously shows that you have no clue what youre talking about, and proving you wrong at the same time.
I wouldn't say that...