[vw7.3.1] -- just noticed that standard parcels are loading classes into the Smalltalk namespace rather than some more specific namespace...

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

[vw7.3.1] -- just noticed that standard parcels are loading classes into the Smalltalk namespace rather than some more specific namespace...

mark.b.ballard
I inspected the Smalltalk namespace and found all kinds of entries that
surprised me.

For example, I found ScaledRandom, a class loaded by the AT Profiling
Core parcel.

Shouldn't the standard parcels put classes into more private namespaces?

The Postgres parcels also add lots of classes to the Smalltalk
namespace.


Reply | Threaded
Open this post in threaded view
|

Re: [vw7.3.1] -- just noticed that standard parcels are loading classes into the Smalltalk namespace rather than some more specific namespace...

Reinout Heeck-2
[hidden email] wrote:

> I inspected the Smalltalk namespace and found all kinds of entries that
> surprised me.
>
> For example, I found ScaledRandom, a class loaded by the AT Profiling
> Core parcel.
>
> Shouldn't the standard parcels put classes into more private namespaces?
>
> The Postgres parcels also add lots of classes to the Smalltalk
> namespace.
>
>  

Ideally Smalltalk should only contain Namespaces, but in the interest of
backward compatibility (and regularity of the namespace model of course)
classes can be 'dumped' there too.

So I guess what you are seeing is a legacy style of packaging that still
hasn't molten away...



I don't know what to do about it other than shaming people into fixing
it - or doing that yourself.

R
-

Reply | Threaded
Open this post in threaded view
|

Re: [vw7.3.1] -- just noticed that standard parcels are loading classes into the Smalltalk namespace rather than some more specific namespace...

Bruce Badger
On 14/03/07, Reinout Heeck <[hidden email]> wrote:
> [hidden email] wrote:
> > The Postgres parcels also add lots of classes to the Smalltalk
> > namespace.

This is because the PostgreSQL library runs in more than just
VisualWorks and other Smalltalk dialects don't have namespaces.

> So I guess what you are seeing is a legacy style of packaging that still
> hasn't molten away...

Which is very unlikely to happen until there is a Smalltalk standard
for namespaces.

I do like the idea of namespaces,  I wish very much that the Smalltalk
authors and vendors could get together to agree a standard ... but I
won't hold my breath.  In the meantime, all my classes go in Smalltalk
in all dialects.

All the best,
    Bruce
--
Make the most of your skills - with OpenSkills
http://www.openskills.org/

Reply | Threaded
Open this post in threaded view
|

RE: [vw7.3.1] -- just noticed that standard parcels are loading classes into the Smalltalk namespace rather than some more specific namespace...

mark.b.ballard
Oh, and by the way...

Thank you for making the Postgres parcels.  They work great for me!

-----Original Message-----
From: Bruce Badger [mailto:[hidden email]]
Sent: Wednesday, March 14, 2007 7:36 AM
To: Reinout Heeck
Cc: [hidden email]
Subject: Re: [vw7.3.1] -- just noticed that standard parcels are loading
classes into the Smalltalk namespace rather than some more specific
namespace...


On 14/03/07, Reinout Heeck <[hidden email]> wrote:
> [hidden email] wrote:
> > The Postgres parcels also add lots of classes to the Smalltalk
> > namespace.

This is because the PostgreSQL library runs in more than just
VisualWorks and other Smalltalk dialects don't have namespaces.

> So I guess what you are seeing is a legacy style of packaging that
still
> hasn't molten away...

Which is very unlikely to happen until there is a Smalltalk standard
for namespaces.

I do like the idea of namespaces,  I wish very much that the Smalltalk
authors and vendors could get together to agree a standard ... but I
won't hold my breath.  In the meantime, all my classes go in Smalltalk
in all dialects.

All the best,
    Bruce
--
Make the most of your skills - with OpenSkills
http://www.openskills.org/