This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Is there interest in a @Beta annotation?

3 replies
Simon Ochsenreither
Joined: 2011-07-17,
User offline. Last seen 42 years 45 weeks ago.
Hi,

I'm pretty sure that is has come up already, but is there interest in having some kind of @Beta annotation to signify that some method/class is subject to change?

Google seems to have something comparable in Guava: com.google.common.annotations.Beta ("Signifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release.").

Would it make sense to have something standardized in the standard library under scala.annotation?

Thanks and bye,

Simon
extempore
Joined: 2008-12-17,
User offline. Last seen 35 weeks 3 days ago.
Re: Is there interest in a @Beta annotation?

On Thu, Dec 8, 2011 at 3:58 PM, Simon Ochsenreither
wrote:
> Hi,
>
> I'm pretty sure that is has come up already, but is there interest in having
> some kind of @Beta annotation to signify that some method/class is subject
> to change?

This was one of the first things I ever tried to do (see @experimental
in the git history) but for reasons I no longer remember clearly it
was not embraced and I phased it out.

Simon Ochsenreither
Joined: 2011-07-17,
User offline. Last seen 42 years 45 weeks ago.
Re: Is there interest in a @Beta annotation?
Ah ok, interesting.
Maybe someone will be able to recover the reasoning ...

Thanks!
odersky
Joined: 2008-07-29,
User offline. Last seen 45 weeks 6 days ago.
Re: Is there interest in a @Beta annotation?

I think it would be a good idea to add @beta.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland