The Artima Developer Community
Sponsored Link

Agile Buzz Forum
yes, abstractions leak - some more than others

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
yes, abstractions leak - some more than others Posted: Jul 4, 2003 1:09 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: yes, abstractions leak - some more than others
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
One of the Java Bloggers (Daniel Steinberg) talks about leaky abstractions. Joel on Software wrote on this last year (and why doesn't this guy link to it, since he mentions it?) - then he lets loose with this:


To make code more performant, you generally have to make it less readable. Readability often involves introducing abstractions. You don't talk directly to your data base, you use JDBC. You don't follow pointers to find the next element in a collection, you ask the corresponding Iterator to return next(). The problem with this, according to Joel Spolsky, is that all abstractions leak. Today in Java Today Craig Castelaz discusses this balance in "Living with Leaks". Craig looks at Spolsky's Law of Leaky Abstractions and Keppler's continuum of abstractions that predates Spolsky's work by a decade.


Hmm. Maybe It's that I use better tools, but I find just the opposite. cleaning code up and making the intentions clearer typically lead me to faster code. I consider this whole idea of "nasty code is faster" to be a hoary old chestnut that needs retiring, fast. Referencing the Cringely article (and why doesn't he link to it?) shows a high level of cluelessness. If he thinks refactoring is useless, he shouldn't be writing code, period.

Read: yes, abstractions leak - some more than others

Topic: So about that new syndication/posting format... Previous Topic   Next Topic Topic: Smalltalk Solutions Plug of the Day, 6/26/03

Sponsored Links



Google
  Web Artima.com   

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