Is Object>>name important?

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

Is Object>>name important?

Alexandre Bergel
Hi!

Time to time, I need to create a #name method on my class. But I found a bit ugly to do an override.
Is Object>>name that important?

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Is Object>>name important?

Stéphane Ducasse
ideally I would love to get rid of it and externalName and friends.... now
there are probably deep reasons for now.

Stef

On Jul 21, 2010, at 5:45 PM, Alexandre Bergel wrote:

> Hi!
>
> Time to time, I need to create a #name method on my class. But I found a bit ugly to do an override.
> Is Object>>name that important?
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Is Object>>name important?

hernan.wilkinson
the same happens to me all the time... so I do as if it does not exist :-), I just override it... I agree it should not be Object's protocol.

On Wed, Jul 21, 2010 at 1:08 PM, Stéphane Ducasse <[hidden email]> wrote:
ideally I would love to get rid of it and externalName and friends.... now
there are probably deep reasons for now.

Stef

On Jul 21, 2010, at 5:45 PM, Alexandre Bergel wrote:

> Hi!
>
> Time to time, I need to create a #name method on my class. But I found a bit ugly to do an override.
> Is Object>>name that important?
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Is Object>>name important?

Schwab,Wilhelm K
Zap, kill, obliterate, destroy, etc., simultaneously :)
 


From: [hidden email] [mailto:[hidden email]] On Behalf Of Hernan Wilkinson
Sent: Wednesday, July 21, 2010 1:46 PM
To: [hidden email]
Subject: Re: [Pharo-project] Is Object>>name important?

the same happens to me all the time... so I do as if it does not exist :-), I just override it... I agree it should not be Object's protocol.

On Wed, Jul 21, 2010 at 1:08 PM, Stéphane Ducasse <[hidden email]> wrote:
ideally I would love to get rid of it and externalName and friends.... now
there are probably deep reasons for now.

Stef

On Jul 21, 2010, at 5:45 PM, Alexandre Bergel wrote:

> Hi!
>
> Time to time, I need to create a #name method on my class. But I found a bit ugly to do an override.
> Is Object>>name that important?
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Is Object>>name important?

Benoit St-Jean-2
How about :

become: nil

:)

-----------------
Benoit St-Jean
A standpoint is an intellectual horizon of radius zero.
(Albert Einstein)





From: [hidden email]
To: [hidden email]
Date: Wed, 21 Jul 2010 15:56:28 -0400
Subject: Re: [Pharo-project] Is Object>>name important?

Zap, kill, obliterate, destroy, etc., simultaneously :)
 


From: [hidden email] [mailto:[hidden email]] On Behalf Of Hernan Wilkinson
Sent: Wednesday, July 21, 2010 1:46 PM
To: [hidden email]
Subject: Re: [Pharo-project] Is Object>>name important?

the same happens to me all the time... so I do as if it does not exist :-), I just override it... I agree it should not be Object's protocol.

On Wed, Jul 21, 2010 at 1:08 PM, Stéphane Ducasse <[hidden email]> wrote:
ideally I would love to get rid of it and externalName and friends.... now
there are probably deep reasons for now.

Stef

On Jul 21, 2010, at 5:45 PM, Alexandre Bergel wrote:

> Hi!
>
> Time to time, I need to create a #name method on my class. But I found a bit ugly to do an override.
> Is Object>>name that important?
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



Turn down-time into play-time with Messenger games Play Now!
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Is Object>>name important?

Stéphane Ducasse
Ok thanks for all these encouragements.
Now if you have some free (ok less busy) cycles, any step in that direction is welcome.

Stef

On Jul 21, 2010, at 9:57 PM, Benoit St-Jean wrote:

> How about :
>
> become: nil
>
> :)
>
> -----------------
> Benoit St-Jean
> A standpoint is an intellectual horizon of radius zero.
> (Albert Einstein)
>
>
>
>
> From: [hidden email]
> To: [hidden email]
> Date: Wed, 21 Jul 2010 15:56:28 -0400
> Subject: Re: [Pharo-project] Is Object>>name important?
>
> Zap, kill, obliterate, destroy, etc., simultaneously :)
>  
>
> From: [hidden email] [mailto:[hidden email]] On Behalf Of Hernan Wilkinson
> Sent: Wednesday, July 21, 2010 1:46 PM
> To: [hidden email]
> Subject: Re: [Pharo-project] Is Object>>name important?
>
> the same happens to me all the time... so I do as if it does not exist :-), I just override it... I agree it should not be Object's protocol.
>
> On Wed, Jul 21, 2010 at 1:08 PM, Stéphane Ducasse <[hidden email]> wrote:
> ideally I would love to get rid of it and externalName and friends.... now
> there are probably deep reasons for now.
>
> Stef
>
> On Jul 21, 2010, at 5:45 PM, Alexandre Bergel wrote:
>
> > Hi!
> >
> > Time to time, I need to create a #name method on my class. But I found a bit ugly to do an override.
> > Is Object>>name that important?
> >
> > Cheers,
> > Alexandre
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel  http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> Turn down-time into play-time with Messenger games Play Now! _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Is Object>>name important?

Mariano Martinez Peck
The first thing is to open a ticket. Then start to work. I just did a simple test in my pc and at least it didn't freeze, neither DNU. But when I started to run test, I start with the DNU. Maybe they need to be fixed and that's all. I don't know.

On Wed, Jul 21, 2010 at 10:06 PM, Stéphane Ducasse <[hidden email]> wrote:
Ok thanks for all these encouragements.
Now if you have some free (ok less busy) cycles, any step in that direction is welcome.

Stef

On Jul 21, 2010, at 9:57 PM, Benoit St-Jean wrote:

> How about :
>
> become: nil
>
> :)
>
> -----------------
> Benoit St-Jean
> A standpoint is an intellectual horizon of radius zero.
> (Albert Einstein)
>
>
>
>
> From: [hidden email]
> To: [hidden email]
> Date: Wed, 21 Jul 2010 15:56:28 -0400
> Subject: Re: [Pharo-project] Is Object>>name important?
>
> Zap, kill, obliterate, destroy, etc., simultaneously :)
>
>
> From: [hidden email] [mailto:[hidden email]] On Behalf Of Hernan Wilkinson
> Sent: Wednesday, July 21, 2010 1:46 PM
> To: [hidden email]
> Subject: Re: [Pharo-project] Is Object>>name important?
>
> the same happens to me all the time... so I do as if it does not exist :-), I just override it... I agree it should not be Object's protocol.
>
> On Wed, Jul 21, 2010 at 1:08 PM, Stéphane Ducasse <[hidden email]> wrote:
> ideally I would love to get rid of it and externalName and friends.... now
> there are probably deep reasons for now.
>
> Stef
>
> On Jul 21, 2010, at 5:45 PM, Alexandre Bergel wrote:
>
> > Hi!
> >
> > Time to time, I need to create a #name method on my class. But I found a bit ugly to do an override.
> > Is Object>>name that important?
> >
> > Cheers,
> > Alexandre
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel  http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> Turn down-time into play-time with Messenger games Play Now! _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Is Object>>name important?

Stéphane Ducasse
yes the doit approach!

Stef

On Jul 22, 2010, at 10:10 AM, Mariano Martinez Peck wrote:

> The first thing is to open a ticket. Then start to work. I just did a simple test in my pc and at least it didn't freeze, neither DNU. But when I started to run test, I start with the DNU. Maybe they need to be fixed and that's all. I don't know.
>
> On Wed, Jul 21, 2010 at 10:06 PM, Stéphane Ducasse <[hidden email]> wrote:
> Ok thanks for all these encouragements.
> Now if you have some free (ok less busy) cycles, any step in that direction is welcome.
>
> Stef
>
> On Jul 21, 2010, at 9:57 PM, Benoit St-Jean wrote:
>
> > How about :
> >
> > become: nil
> >
> > :)
> >
> > -----------------
> > Benoit St-Jean
> > A standpoint is an intellectual horizon of radius zero.
> > (Albert Einstein)
> >
> >
> >
> >
> > From: [hidden email]
> > To: [hidden email]
> > Date: Wed, 21 Jul 2010 15:56:28 -0400
> > Subject: Re: [Pharo-project] Is Object>>name important?
> >
> > Zap, kill, obliterate, destroy, etc., simultaneously :)
> >
> >
> > From: [hidden email] [mailto:[hidden email]] On Behalf Of Hernan Wilkinson
> > Sent: Wednesday, July 21, 2010 1:46 PM
> > To: [hidden email]
> > Subject: Re: [Pharo-project] Is Object>>name important?
> >
> > the same happens to me all the time... so I do as if it does not exist :-), I just override it... I agree it should not be Object's protocol.
> >
> > On Wed, Jul 21, 2010 at 1:08 PM, Stéphane Ducasse <[hidden email]> wrote:
> > ideally I would love to get rid of it and externalName and friends.... now
> > there are probably deep reasons for now.
> >
> > Stef
> >
> > On Jul 21, 2010, at 5:45 PM, Alexandre Bergel wrote:
> >
> > > Hi!
> > >
> > > Time to time, I need to create a #name method on my class. But I found a bit ugly to do an override.
> > > Is Object>>name that important?
> > >
> > > Cheers,
> > > Alexandre
> > > --
> > > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > > Alexandre Bergel  http://www.bergel.eu
> > > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> > >
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Pharo-project mailing list
> > > [hidden email]
> > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> >
> > Turn down-time into play-time with Messenger games Play Now! _______________________________________________
> > Pharo-project mailing list
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Is Object>>name important?

Alexandre Bergel
In reply to this post by Mariano Martinez Peck
http://code.google.com/p/pharo/issues/detail?id=2710

Alexandre


On 22 Jul 2010, at 10:10, Mariano Martinez Peck wrote:

> The first thing is to open a ticket. Then start to work. I just did a simple test in my pc and at least it didn't freeze, neither DNU. But when I started to run test, I start with the DNU. Maybe they need to be fixed and that's all. I don't know.
>
> On Wed, Jul 21, 2010 at 10:06 PM, Stéphane Ducasse <[hidden email]> wrote:
> Ok thanks for all these encouragements.
> Now if you have some free (ok less busy) cycles, any step in that direction is welcome.
>
> Stef
>
> On Jul 21, 2010, at 9:57 PM, Benoit St-Jean wrote:
>
> > How about :
> >
> > become: nil
> >
> > :)
> >
> > -----------------
> > Benoit St-Jean
> > A standpoint is an intellectual horizon of radius zero.
> > (Albert Einstein)
> >
> >
> >
> >
> > From: [hidden email]
> > To: [hidden email]
> > Date: Wed, 21 Jul 2010 15:56:28 -0400
> > Subject: Re: [Pharo-project] Is Object>>name important?
> >
> > Zap, kill, obliterate, destroy, etc., simultaneously :)
> >
> >
> > From: [hidden email] [mailto:[hidden email]] On Behalf Of Hernan Wilkinson
> > Sent: Wednesday, July 21, 2010 1:46 PM
> > To: [hidden email]
> > Subject: Re: [Pharo-project] Is Object>>name important?
> >
> > the same happens to me all the time... so I do as if it does not exist :-), I just override it... I agree it should not be Object's protocol.
> >
> > On Wed, Jul 21, 2010 at 1:08 PM, Stéphane Ducasse <[hidden email]> wrote:
> > ideally I would love to get rid of it and externalName and friends.... now
> > there are probably deep reasons for now.
> >
> > Stef
> >
> > On Jul 21, 2010, at 5:45 PM, Alexandre Bergel wrote:
> >
> > > Hi!
> > >
> > > Time to time, I need to create a #name method on my class. But I found a bit ugly to do an override.
> > > Is Object>>name that important?
> > >
> > > Cheers,
> > > Alexandre
> > > --
> > > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > > Alexandre Bergel  http://www.bergel.eu
> > > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> > >
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Pharo-project mailing list
> > > [hidden email]
> > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> >
> > Turn down-time into play-time with Messenger games Play Now! _______________________________________________
> > Pharo-project mailing list
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Is Object>>name important?

Igor Stasenko
In reply to this post by Alexandre Bergel
The #name is sent to object to display an inspector title.
also used in inspector for printing an instances with default
printstring method.

On 21 July 2010 18:45, Alexandre Bergel <[hidden email]> wrote:

> Hi!
>
> Time to time, I need to create a #name method on my class. But I found a bit ugly to do an override.
> Is Object>>name that important?
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>



--
Best regards,
Igor Stasenko AKA sig.

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Is Object>>name important?

Stéphane Ducasse
we could use printString for those ones instead.

On Jul 22, 2010, at 9:28 PM, Igor Stasenko wrote:

> The #name is sent to object to display an inspector title.
> also used in inspector for printing an instances with default
> printstring method.
>
> On 21 July 2010 18:45, Alexandre Bergel <[hidden email]> wrote:
>> Hi!
>>
>> Time to time, I need to create a #name method on my class. But I found a bit ugly to do an override.
>> Is Object>>name that important?
>>
>> Cheers,
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project