commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Sicker <boa...@gmail.com>
Subject Re: [lang] Todo utility class
Date Tue, 20 Mar 2018 01:21:18 GMT
I’ve used NotImplementedException as a way to do this. In Scala, there is a
function called ??? which throws a similar exception, and in Kotlin,
there’s an equivalent function called TODO.

On Mon, Mar 19, 2018 at 20:09, Gary Gregory <garydgregory@gmail.com> wrote:

> Been out with the flu, jumping in late...
>
> It seems like using one or more annotations would be better for tooling...
>
> Gary
>
> On Sun, Mar 18, 2018, 07:57 Gilles <gilles@harfang.homelinux.org> wrote:
>
> > On Sun, 18 Mar 2018 13:20:18 +0100, Jochen Wiedmann wrote:
> > > On Fri, Mar 16, 2018 at 12:05 AM, Gilles
> > > <gilles@harfang.homelinux.org> wrote:
> > >
> > >> Perhaps "Commons Testing".
> > >> IIUC, such calls are not meant to appear in released code.
> > >
> > > Neither would testing.
> >
> > Exactly, and the reason why I proposed that home.
> > Rationale is pretty obvious IMHO: code that contains calls
> > to a "Todo" class is under test (or in beta state).
> >
> > Gilles
> >
> > > I like the idea of a Todo class. Makes
> > > searching for such places extremely neat, and simple.
> > >
> > > Jochen
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > For additional commands, e-mail: dev-help@commons.apache.org
> >
> >
>
-- 
Matt Sicker <boards@gmail.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message