Hi. I don't have time right now to check your code, but just to let you know another implementation of BTree that you can look at:
http://www.squeaksource.com/BTree On Sat, Aug 13, 2011 at 3:59 PM, Stéphane Ducasse <[email protected] > wrote: > > On Aug 13, 2011, at 3:56 PM, Jonathan Kelly wrote: > > > Hi, > > > > well, I think I'm starting to get the object thing. I coded up the > beginnings of a BTree package .. and I think I'm sold on Smalltalk - I > really love the debugger!! > > Welcome > What I like is that smalltalk helps me to think about design and objects > > > If anyone has 5 minutes to kill having a look and give some feedback, I'd > appreciate it. > > > > It's in squeaksource - I think I set it up so anyone can see it ... let > me know if it isn't (and how to make it visible too! :) > > > > It only has an add function so far (and the page search is only linear - > I'll get to that). > > > > useage > > x := BTree withOrder: 2. > > x add: 11. > > > > MCHttpRepository > > location: 'http://www.squeaksource.com/JKTesting' > > user: '' > > password: '' > > > Jonathan I do not know if you wrote tests but if you don't: tests are the > best kata to improve your design. > Read the SUnit chapter I wrote in Pharo by example and do it :) > > > > > Thanks > > Jonathan. > > > > > -- Mariano http://marianopeck.wordpress.com
