HN user

pyeek

5 karma

Python Programmer/hacker.

Posts4
Comments10
View on HN

It isn't the ones listed so far. I vaguely remember it talking about choices like loops, comprehensions, data types etc. and eventually his code became about 8-10 times faster.

I will continue to search and will post back here once I find it. Thanks for everyone's help.

Write More Classes 13 years ago

I think there is an aspect to this article that won't be understood unless you're really part of the Python community. For a while now, one of Python's selling points to users from other languages has been "you don't need to write all that code" (most likely directed at Java), more specifically you can simply use a function rather than having to define a class just to define static methods etc. Over time, this has grown into the mantra of "You don't need a class just use a function/module". A lot of people seem to follow this viewpoint blindly, so much so that they consider it to be "Pythonic"; the way you "should" write python.

I think Armin's post is somewhat in line with the following post from the google testing blog. http://googletesting.blogspot.com/2008/12/static-methods-are...

The problem here is simply because when you say "entrepreneur" people automatically assume you're non-technical.

The organisers probably thought "people with ideas" whether technical or non-technical and "people who don't have ideas but wants to work on others' ideas"

Regardless, it is still ambiguous as to whether that was what they really meant.

Maybe they really meant "Unique snowflake" vs "Cog in the wheel". Who knows.

I really don't understand the point of the blog post.

So Javascript can be formatted to look kind of like CoffeeScript?

While I agree that Javascript is often misunderstood, to me his formatting of Javascript is making things much worse, in terms of maintenance (yeah...let's all line up equal signs...).

I personally DO NOT write CoffeeScript but I think the difference between CoffeeScript and Javascript goes beyond formatting. Writing CoffeeScript seems to me to be a syntactic improvement and eliminates some of the need to really learn Javascript (which I think takes quite a bit of effort)

I have a 12.5" lenovo thinkpad x220. i5, 8gb ram, kingston hyperX SATA III ssd. The screen is an IPS screen.

I run 64-bit ubuntu.

I have a 9 cell battery which, after running powerTop, I get ~12 hours battery life out of coding.

This machine is great because I can travel, but it also has VGA out and HDMI out so I can connect to a larger monitor. The SATA III drive was VERY easy to swap out and is ridiculously fast (~500mb/s read/write)

The other benefit of this machine is that there is an mSATA port...you can boot off of the mSATA and use a larger platter drive for storage, even boot other OSes that you don't use too often.

The i5 vs i7 performance isn't too big of a deal unless you're utilizing multicores all the time. I have a desktop at work with an i7 and honestly, I don't feel much of a difference. In fact, the SSD makes my laptop feel a lot faster.

My wife has a MBA 13" that I use from time to time to maintain my IOs app...Thank goodness I didn't get it as my main laptop.

As for the review site, try notebookreview.com. I've always used it and is pretty good

edit: formatting

One issue I don't see raised in the comments so far is the fact that OO seem to be all the rage (at least when you're a college student anyway) and often you move onto C++ or Java fairly early in the curriculum.

I love coding in C and my first job out of college was C for mobile devices. I have since moved to web programming and rarely use C directly (closest I get is Imagemagick with bindings)

I don't understand why it is priced so high. If you look at a similarly spec'd netbook for $400-$500, plus a touch screen (say +$100), you should still be under $799. Does Windows 7 really cost that much more? What on earth makes it that much more expensive when it doesn't even have 3G?