The Artima Developer Community
Sponsored Link

Python Buzz Forum
"Discuss"

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ian Bicking

Posts: 900
Nickname: ianb
Registered: Apr, 2003

Ian Bicking is a freelance programmer
"Discuss" Posted: Jul 11, 2006 10:14 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Ian Bicking.
Original Post: "Discuss"
Feed Title: Ian Bicking
Feed URL: http://www.ianbicking.org/feeds/atom.xml
Feed Description: Thoughts on Python and Programming.
Latest Python Buzz Posts
Latest Python Buzz Posts by Ian Bicking
Latest Posts From Ian Bicking

Advertisement

In a comment on Signs you're a crappy programmer Philip Storry said:

One of my favourite quotes from Ken Thompson (who apparently knows a bit about computers) is:

I tend to break up a subprogram when there are too many local variables. Another clue is [too many] levels of indentation. I rarely look at length.

It's not an absolute truth, but he does give two pretty good indicators.

The length of a function isn't important - what you're trying to do in that length is... :-)

This kind of quote used to make me disappointed that I never went to university to do computer science. I imagined that such quotes would be thrown out by a teacher, followed by the magic word "Discuss".

Of course, I eventually met some CS students, who disabused me of this romantic notion. ;-)

Yeah, that would be a neat class, but I never had a class like that. It's not so much the teachers wouldn't be open to that, but that the students wouldn't be capable of following up with a discussion. It would be dumb anyway -- speculating on design practices that apply to something none of the students have ever done: working with code at different stages of the code life cycle. At best the students could rephrase other bits of wisdom heard but never experienced, which does not a discussion make. This describes a large portion of the discussions I had in college classes. Discussion sucked. But then I wasn't a very satisfied student in general.

Read: "Discuss"

Topic: Not quite back from Gnomedex Previous Topic   Next Topic Topic: links for 2006-07-08

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use