News for hackers. Stuff that matters.
Re:Someday we will all program in Python by _pius on Monday June 22, 2009 @08:04AM (#668599)
weekly = [sum(daily[j:j+7]) for j in range(0, len(daily), 7)]

While I appreciate the general sentiment that high-level languages will take over the world, there is very little that's new in this article and I am not impressed by the showpiece Python code from the article. For loops are the future?

Re:Someday we will all program in Python by fcr on Monday June 22, 2009 @09:06AM (#668674)
Well I guess the list comprehension and list slicing features in the above example are more interesting than the for loop.