On Fri, May 27, 2016 at 3:02 AM, Joseph Alotta wrote:
>
>> On May 26, 2016, at 8:29 AM, Ron Teitelbaum [via Smalltalk] <[hidden
>> email]> wrote:
>>
>> One more question for you. I mentioned returning a newly created instance
>> or a specific class from a class side
Have a look at the Hierarchy for the class Url
Notice the class method: #urlClassForScheme:
That should give you a better understanding of why url methods are in
FileDirectory.
For browser like methods see HTTPClient.
All the best,
Ron Teitelbaum
From:
I saw a lot of code in FileDirectory for urls. What’s that all about? Can I
use FileDirectory to browse the web? If not, is there another web browser
object?
Sincerely,
Joe.
--
View this message in context:
http://forum.world.st/FileDirectory-tp4897377p4897636.html
Sent from the
From: Joseph Alotta
Sent: Thursday, May 26, 2016 4:32 PM
> Extra credit: Why would you use a class variable? We know that an
instance variable is used to store data within the context of an instance.
Why would you want to store data in the context of a class?
Window closeAllWindows
> Extra credit: Why would you use a class variable? We know that an instance
> variable is used to store data within the context of an instance. Why would
> you want to store data in the context of a class?
Window closeAllWindows needs to have a list of all the windows, and sends each
one
From: Joseph Alotta
Sent: Thursday, May 26, 2016 3:02 PM
> On May 26, 2016, at 8:29 AM, Ron Teitelbaum [via Smalltalk] <[hidden email]>
> wrote:
>
> One more question for you. I mentioned returning a newly created instance or
> a specific class from a class side method. Can you
> On May 26, 2016, at 8:29 AM, Ron Teitelbaum [via Smalltalk]
> wrote:
>
> One more question for you. I mentioned returning a newly created instance or
> a specific class from a class side method. Can you name another reason why
> you would write
From: beginners-boun...@lists.squeakfoundation.org
[mailto:beginners-boun...@lists.squeakfoundation.org] On Behalf Of Joseph Alotta
Sent: Wednesday, May 25, 2016 7:47 PM
To: beginners@lists.squeakfoundation.org
Subject: [Newbies] Re: FileDirectory
Hi Ron,
> Excellent. Remember that