Yesterday there was a guy on IRC with a strange problem in Python. He tried inheriting from two classes, both of which had the same function implemented differently. He had trouble understanding what prevented him from using both implementations inside the subclass. That got me wondering...
This concept of overriding methods is completely natural to a lot of people. How come it wasn't natural to him? Maybe he's just a newcomer, but I think there might be more to it.
I was introduced to programming with Basic and later Pascal. I ended up teaching myself C and C++. Now I think we can agree that Python is a higher-level language than either of these. Python seems to address the issues I had when using these languages. I wonder if that's why it's so intuitive - it works just the way I expect it to.
But what if someone writes their first programs in Python? They obviously won't have the same experiences and expectations I have. Does this mean that only the next generation of languages will be so intuitive for them? Also, does someone who began programming in ASM find C and C++ just as intuitive? What do you think?
No comments:
Post a Comment