|
From: Fintan F. <fi...@gm...> - 2009-07-26 14:54:25
|
The plan is to wrap it, but our initial pass at implementation was just to use a plain list. We discussed this on Friday and had already agreed such. On Sun, Jul 26, 2009 at 1:23 PM, Mikoláš Janota <mik...@gm...>wrote: > Fint and Radu has changed the parse method to return a list of errors > rather than a boolean (and only runtime exceptions are thrown). > I must say I'd have preferred a class wrapping the list: > a) To get the previous code to compile I added isEmpty() which looks > unintuitive. isOK would look nicer. > b) The standard toString of List is probably not desirable for > presenting to the user the aforementioned class could have some > printMe method, presenting the errors nicely. > > > > -- > Mikoláš Janota M. Sc. > School of Computer Science and Informatics, > University College Dublin, > Belfield, > Dublin 4, > Ireland > > > ------------------------------------------------------------------------------ > _______________________________________________ > Clops-users mailing list > Clo...@li... > https://lists.sourceforge.net/lists/listinfo/clops-users > |