One could argue that `parse` makes more sense, as there is really just that one 
way to parse a bool.

On Monday, March 20, 2017 8:04:53 PM CET Dmitry Soshnikov wrote:
> On Mon, Mar 20, 2017 at 11:57 AM, T.J. Crowder <
> [email protected]> wrote:
> 
> > Any reason for not just using `Boolean.parse`? (Rather than repeating
> > `Boolean` in the function name?)
> >
> >>
> >>
> Just a copy-paste from Java, similarly was done with `parseInt` taken from
> Java. But just `parse` probably would work too. For consistency and
> predictability `parseBoolean` is probably better now.
> 
> Dmitry
> 

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to