The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Culture clash?

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
Culture clash? Posted: Apr 17, 2004 11:52 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Culture clash?
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
Ted disagrees with my take on final classes:

It was in my days as a C programmer that I came to realize that the fundamental difference between Smalltalk and C was that in Smalltalk, all reusability derives from inheritance. You want to reuse some code, you inherit from it, plain and simple. Even working through the Cincom Smalltalk manuals, I see that message over and over again. This is not true outside of Smalltalk.Inheritance creates a dependency on the base class type within all derived types, and if for some reason something in the base class type needs to change, every class below it feels the change, potentially breaking what happens.

First off, I'd say that most Smalltakers are somewhat leery of deep inheritance hierarchies now. With dynamic typing, polymorphism makes it easy to create ad-hoc interface matching without having to share a base class. In fact, that makes it easy to avoid the whole "fragile base class" problem entirely (even though it's less of a problem for Smalltalk than it is for static languages). I meet plenty of people who disagree with me on this point - the guy who gave the API talk at ot2004, for instance - I spoke to him briefly on the subject. I'm just not convinced. I know too many Smalltalkers who also know .NET and Java - all of them dislike "final", and all of whom talk about the nasty work-arounds they have to create to deal with the problem (typically, lots of helper classes). I tend to think that anything requiring that level of work-around is probably a bad idea.

Sure, this is a culture clash - but I still think it's a bad idea as well :) I think we'll have to agree to disagree for now

Read: Culture clash?

Topic: Smalltalking in Switzerland? Previous Topic   Next Topic Topic: Good news from MS

Sponsored Links



Google
  Web Artima.com   

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