Re: [Pharo-project] deprecated annotation?

2011-08-17 Thread Philippe Marschall
On 16.08.2011 19:51, Igor Stasenko wrote: Hello, i know that we're already having #deprecated: , #deprecated: on: in: etc but one thing what i think useful about annotations that it is a way to indicate that method is deprecated without showing a warning. The problem with using

Re: [Pharo-project] deprecated annotation?

2011-08-17 Thread Levente Uzonyi
On Wed, 17 Aug 2011, Philippe Marschall wrote: On 16.08.2011 19:51, Igor Stasenko wrote: Hello, i know that we're already having #deprecated: , #deprecated: on: in: etc but one thing what i think useful about annotations that it is a way to indicate that method is deprecated without showing

Re: [Pharo-project] deprecated annotation?

2011-08-17 Thread Igor Stasenko
On 17 August 2011 14:23, Lukas Renggli reng...@gmail.com wrote: What you think? How would that help anybody to find out whether they are relying on deprecated methods? This seems like a big step backwards form a user point of view. Suddenly a method is gone and you didn't get a warning. You

Re: [Pharo-project] deprecated annotation?

2011-08-17 Thread Philippe Marschall
On 17.08.2011 14:24, Igor Stasenko wrote: On 17 August 2011 14:14, Philippe Marschall kus...@gmx.net wrote: On 16.08.2011 19:51, Igor Stasenko wrote: Hello, i know that we're already having #deprecated: , #deprecated: on: in: etc but one thing what i think useful about annotations that it

Re: [Pharo-project] deprecated annotation?

2011-08-17 Thread Igor Stasenko
On 17 August 2011 14:26, Levente Uzonyi le...@elte.hu wrote: On Wed, 17 Aug 2011, Philippe Marschall wrote: On 16.08.2011 19:51, Igor Stasenko wrote: Hello, i know that we're already having #deprecated: , #deprecated: on: in: etc but one thing what i think useful about annotations that it

Re: [Pharo-project] deprecated annotation?

2011-08-17 Thread Lukas Renggli
How would that help anybody to find out whether they are relying on deprecated methods? This seems like a big step backwards form a user point of view. Suddenly a method is gone and you didn't get a warning. You are you supposed to check for deprecated methods? Debug each and every one of

Re: [Pharo-project] deprecated annotation?

2011-08-17 Thread Henrik Johansen
On Aug 17, 2011, at 2:40 34PM, Lukas Renggli wrote: How would that help anybody to find out whether they are relying on deprecated methods? This seems like a big step backwards form a user point of view. Suddenly a method is gone and you didn't get a warning. You are you supposed to check

Re: [Pharo-project] deprecated annotation?

2011-08-17 Thread Hernán Morales Durand
Hi Lukas, Igor 2011/8/17 Lukas Renggli reng...@gmail.com: How would that help anybody to find out whether they are relying on deprecated methods? This seems like a big step backwards form a user point of view. Suddenly a method is gone and you didn't get a warning. You are you supposed to

Re: [Pharo-project] deprecated annotation?

2011-08-17 Thread Philippe Marschall
On 17.08.2011 16:05, Hernán Morales Durand wrote: Hi Lukas, Igor 2011/8/17 Lukas Renggli reng...@gmail.com: How would that help anybody to find out whether they are relying on deprecated methods? This seems like a big step backwards form a user point of view. Suddenly a method is gone and

[Pharo-project] deprecated annotation?

2011-08-16 Thread Igor Stasenko
Hello, i know that we're already having #deprecated: , #deprecated: on: in: etc but one thing what i think useful about annotations that it is a way to indicate that method is deprecated without showing a warning. The problem with using messages, that if you deprecate something which used quite

Re: [Pharo-project] deprecated annotation?

2011-08-16 Thread Igor Stasenko
Currently i run upon this situation, when annotation is the only possible choice: SmalltalkImagevmParameterAt: parameterIndex This method is deprecated. We're not putting a #deprecated: message here, because then it will produce a lot of warnings

Re: [Pharo-project] deprecated annotation?

2011-08-16 Thread Stéphane Ducasse
Ok you won! But we want a nice comment in all deprecated methods :) Stef On Aug 16, 2011, at 7:55 PM, Igor Stasenko wrote: Currently i run upon this situation, when annotation is the only possible choice: SmalltalkImagevmParameterAt: parameterIndex This method is deprecated.