First Steps

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

First Steps

Jonathan Kelly
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!!

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: ''

Thanks
Jonathan.

Reply | Threaded
Open this post in threaded view
|

Re: First Steps

Stéphane Ducasse

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.
>


Reply | Threaded
Open this post in threaded view
|

Re: First Steps

Mariano Martinez Peck
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 <[hidden email]> 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