The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Why being able to add methods is good

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
Why being able to add methods is good Posted: Jan 7, 2004 6:57 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Why being able to add methods is good
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
Charles Miller finds seven different StringUtil classes in his Java project - as opposed to the one String class in my Smalltalk project. Why? Because I can directly extend String. Here's the part I find interesting:

Today, I found myself wanting to do a pretty basic String operation that wasn't on the main class, so I sent IDEA ooff hunting and there were seven classes in my Classpath called either StringUtil or StringUtils, all of them from different projects.

So I wrote the method myself. Finding the one I should have been using amongst that lot was just too much effort :)

Just one more reason why there tends to be less duplication in Smalltalk; things go where they belong...

Read: Why being able to add methods is good

Topic: As sure as the sun rises... Previous Topic   Next Topic Topic: Blog design inertia?

Sponsored Links



Google
  Web Artima.com   

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