Google Wave
Posted on Wednesday, July 1st, 2009 under future technologies, googleBookmark this page for when you have a free hour. It’s worthed!
I can’t wait to see it on the market. More details on wave.google.com.
Bookmark this page for when you have a free hour. It’s worthed!
I can’t wait to see it on the market. More details on wave.google.com.
This is a post I’ve been trying to write for about 2 weeks now. As some of you might know, I’ve spent the previous weeks studying python and writing small scripts and I’ve decided to write a blog entry about it. As a matter of fact, I’ve also looked over the Pylons framework, but I’ll write about it in a another post. So here it is, my opinion about python alone:
Well, I loooooooooove the indentation. I really do. Python made it impossible for lamers to write ugly “one liners”. Everything must be indented and in its place or it won’t even compile (compiling aka no syntax errors as python is an interpreted language). After years of dealing with ugly sources with no braces, no indentation and so on, this feature is like a gift from heavens for me. I really hope it will catch on and be implemented in other languages.
I also like the for in iteration over…well…everything. This code:
for item in collection: do_stuff(item)
…works in most cases, even when collection is a file. In which case the loop iterates over the file’s lines. Tuples, dictionaries and lists are cool features.
Of course, there are some things I dislike about this programming language. The first thing is that sometimes is too verbose. Python doesn’t have an post/pre increment operator. You can’t write i++ or ++i, although this code compiles. Further more, it compiles and does nothing, taking the act of debugging to a whole new level of annoyance.
You always have to write i += 1. It also doesn’t have a ternary operator. If you write a = (condition) ? b : c it will give you an compiling error.
Another weak point is its OOP capabilities. Object orientated programming is very strangely implemented in python. A class example in python looks something like this:
class MyClass: def __init__(self): self.attribute = 'default value' def custom_method(self, attribute): self.attribute = attribute def print_data(self): print self.attribute obj = MyClass() obj.custom_method('wassabi') obj.print_data()
As you can see, there are no access modifiers (private, protected, public), no instantiation operator (new), the this keyword is replaced by self, and you must write it every single time you define a new method in the class. And python also allows multiple inheritance, which does one thing: annoys people.
Apart from some really annoying “features”, I’m starting to like python. It provides a quick way and pretty clean way to do get things done. And in the end, this is all that matters…Python is cool!
This is the very definition of cool…
How will the future look? Here is Microsoft’s point of view:
I consider Microsoft’s point of view to be very optimistic. I’m not sure that in only 10 we’ll reach that level of technology, and even if we do, there will be a lot of people that will reject it, due to traditions, personal convictions that it “was better back in the days”, religious beliefs and so on. And, before developing that technology, we should figure out some new energy sources, to have enough juice to power it all. But the ideas expressed in the movie are impressive, not the less…
Credits for finding the movie go to Radu.