[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] WeakSet>>#includes: and Deprecation
From: |
Stephen Compall |
Subject: |
[Help-smalltalk] WeakSet>>#includes: and Deprecation |
Date: |
Sun, 10 Jun 2007 16:07:19 -0500 |
I was looking at all the #doWithIndex:-like methods and decided a
deprecation tag might be good, at least for my own code. I'm not even
sure I'm going to use it in my own code, but it gave me a chance to
break WeakSet, so
address@hidden/smalltalk--backstage--2.2--patch-30
support #includes: on WeakSets
against upstream patch-393, attached as weakset-includes.diff.
Based on a search for findIndex in HashedCollection, I don't think any
other methods are affected.
Also attached is Deprecation.st. Its Commentary section explains its
use. The biggest benefit is being able to write "self deprecate: 'I am
poorly written'" and such in your code. :)
I'm happy to change the license if you want to include it in gst.
--
;;; Stephen Compall ** http://scompall.nocandysw.com/blog **
"Peta" is Greek for fifth; a petabyte is 10 to the fifth power, as
well as fifth in line after kilo, mega, giga, and tera.
-- Lee Gomes, performing every Wednesday in his tech column
"Portals" on page B1 of The Wall Street Journal
weakset-includes.diff
Description: Text Data
Deprecation.st
Description: Text document
signature.asc
Description: This is a digitally signed message part
- [Help-smalltalk] WeakSet>>#includes: and Deprecation,
Stephen Compall <=