The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Smalltalk, anyone?

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
Smalltalk, anyone? Posted: Jan 9, 2006 6:23 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Smalltalk, anyone?
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

Vorlath should look at Seaside, and the concept of Continuations. Bottom line - been there, done that.

Something else I just can't understand is why source code doesn't have rollbacks. Let's say I allocate an object, then I open a file, but then some kind of error happens on the third statement. How many times do we have code in C (or any other language) to check for allocation, then check for NULL on the file and delete the previously allocated object if the open file command did return NULL and so on getting bigger and bigger. We need a rollback command. Some kind of code attached to all sorts of commands so that it can go back to a previous state. Rollback code for allocation should be deallocation. Rollback code for opening a file should be to close it. Most of this should be default and supplied by the library. So if an error happens, we can rollback to a more stable state. And all this should be hidden away from normal view. If you want to change the way it works, then fine. But it shouldn't clutter the main code. It boggles the mind how backwards we are when it comes to programming. Databases have it. Why not code?

Read: Smalltalk, anyone?

Topic: Ready, Fire, Aim Previous Topic   Next Topic Topic: Vampiric DRM

Sponsored Links



Google
  Web Artima.com   

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