The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Just extend it

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
Just extend it Posted: Jan 26, 2006 7:32 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Just extend it
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

Chris Petrilli comments on a disagreement over class extensions between Chad Fowler and Ian Bicking. Here's what Chris has to say:

This is a blurry line in the world of truly dynamic languages, and it reminds me of the absurd notion of final in Java. There are times when I need to extend an existing class to provide additional functionality because that is where it belongs . Sometimes people put things in the wrong place, but the idea is that they should just “write a function” isn’t necessarily the right solution either.

I agree completely - better to put the method where it belongs than to introduce a bunch of wrapper classes. It's easier to understand, and easier to deal with - and I say this as someone who's been managing a set of class extensions for BottomFeeder through numerous releases of Cincom Smalltalk.

Simpler is better.

Read: Just extend it

Topic: Disney jumps into CGI Previous Topic   Next Topic Topic: It's all about Dave

Sponsored Links



Google
  Web Artima.com   

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