The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Continuous Confusion

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
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Continuous Confusion Posted: Sep 27, 2007 8:11 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Continuous Confusion
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

I love this notion that having manifest type information tells you anything of value. Here's Cedric Beust on the matter:

This "continuous tax" is defined by the fact that when you need to maintain or use an API that was written in a language such as Ruby or Python, you have very little information available to you, and even if you eventually figure it out by looking at the sources of the tests (does anyone ever do that?), this knowledge you gain is ephemereal, and you will have to go through that same exercise if you need to modify this same portion of code a year later.

I have no idea why it helps me to know that an arbitrary variable is of type int or char. When confronted with an API like this:

this.startServer();

and some list of arguments, I'm helped a whole lot less than I am by something like this:

self startServerOnPort:

In the latter example, the name of the method describes the argument(s). In Smalltalk, you get method names that describe their arguments right in the method name - in languages like Java, you get long lists of easily interchanged variables, forcing you to look in secondary sources for the correct incantation.

Yes, there's a continuous tax, all right - but Cedric Beust is the one paying it, not me :)

Technorati Tags: ,

Read: Continuous Confusion

Topic: What does it look like from management's side Previous Topic   Next Topic Topic: Smalltalk Daily Interruption

Sponsored Links



Google
  Web Artima.com   

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