Linked by Thom Holwerda on Tue 4th Sep 2012 20:04 UTC, submitted by MOS6510
General Development "Computer programming is the art, craft and science of writing programs which define how computers operate. This book will teach you how to write computer programs using a programming language designed by Google named Go." Freely available book on Go.
Permalink for comment 533973
To read all comments associated with this story, please click here.
by sgtrock on Wed 5th Sep 2012 18:33 UTC in reply to "RE[2]: Ugh"
Member since:

Show me the bug report. Show me the continual discussions by all and sundry involved in development and use of Python. It doesn't exist.

The truth is, people who program in Python quickly learn the same lesson>

<blockquote> Of course, this brought me face to face once again with Python's pons asinorum, the significance of whitespace. This time, however, I charged ahead and roughed out some code for a handful of sample GUI elements. Oddly enough, Python's use of whitespace stopped feeling unnatural after about twenty minutes. I just indented code, pretty much as I would have done in a C program anyway, and it worked.

That was my first surprise. My second came a couple of hours into the project, when I noticed (allowing for pauses needed to look up new features in Programming Python) I was generating working code nearly as fast as I could type. When I realized this, I was quite startled. An important measure of effort in coding is the frequency with which you write something that doesn't actually match your mental representation of the problem, and have to backtrack on realizing that what you just typed won't actually tell the language to do what you're thinking. An important measure of good language design is how rapidly the percentage of missteps of this kind falls as you gain experience with the language.

When you're writing working code nearly as fast as you can type and your misstep rate is near zero, it generally means you've achieved mastery of the language. But that didn't make sense, because it was still day one and I was regularly pausing to look up new language and library features! </blockquote>

IOW, it's not the whitespace that's the issue, it's your refusal to recognize that you're indenting anyway. You're giving up on a language long before you give it a chance for the wrong reason. :-)

Reply Parent Score: 3