RE: [Newbies] Best place to ask Smalltalk questions?

2008-08-07 Thread Ron Teitelbaum
Hi Sean, > ok i have another. lets take something that in a sql > driven environment would be a lookup table. > countries and states. what the the smalltalk way with this? There are a number of patterns for this. Not all of them are strictly object oriented. The easiest way to do this is to use

Re: [Newbies] Best place to ask Smalltalk questions?

2008-08-02 Thread Sean Allen
On Aug 2, 2008, at 10:50 AM, Benjamin Schroeder wrote: On Aug 2, 2008, at 10:43 AM, Sean Allen wrote: if I have class foo that is meant to only be descended from, never instantiated directly. and it has method bar that needs to made concrete by its descendents, what is the standard idiom for

Re: [Newbies] Best place to ask Smalltalk questions?

2008-08-02 Thread Benjamin Schroeder
On Aug 2, 2008, at 10:43 AM, Sean Allen wrote: if I have class foo that is meant to only be descended from, never instantiated directly. and it has method bar that needs to made concrete by its descendents, what is the standard idiom for that? is there a specific error that should be thrown or

Re: [Newbies] Best place to ask Smalltalk questions?

2008-08-02 Thread Sean Allen
On Aug 2, 2008, at 12:44 AM, Matthew Fulmer wrote: On Sat, Aug 02, 2008 at 12:08:51AM -0400, Sean Allen wrote: you have an instance variable you only want to allow to set once, never again ( in that fashion its like variable binding in erlang. ) what is the accepted smalltalk way to do this? i

Re: [Newbies] Best place to ask Smalltalk questions?

2008-08-01 Thread Matthew Fulmer
On Sat, Aug 02, 2008 at 12:08:51AM -0400, Sean Allen wrote: > you have an instance variable you only want to allow to set once, > never again ( in that fashion its like variable binding in erlang. ) > what is the accepted smalltalk way to do this? is there one? ivar: aValue ivar ifNotNil: [sel

Re: [Newbies] Best place to ask Smalltalk questions?

2008-08-01 Thread Sean Allen
On Aug 1, 2008, at 6:01 PM, Randal L. Schwartz wrote: "Sean" == Sean Allen <[EMAIL PROTECTED]> writes: Sean> If I have beginner Smalltalk questions. What is the best forum for Sean> asking those? Sean> Here even if they aren't squeak specific? If you're learning Smalltalk by using Squeak

Re: [Newbies] Best place to ask Smalltalk questions?

2008-08-01 Thread Randal L. Schwartz
> "Sean" == Sean Allen <[EMAIL PROTECTED]> writes: Sean> If I have beginner Smalltalk questions. What is the best forum for Sean> asking those? Sean> Here even if they aren't squeak specific? If you're learning Smalltalk by using Squeak, it makes sense to ask them here. If you're not using S