> On Dec 15, 2016, at 8:01 PM, Robin Sommer <[email protected]> wrote: > > On Thu, Dec 15, 2016 at 12:04 -0500, you wrote: > >> force people to cast the value to an error type, maybe like this... >> >> if ( v as error == Error::Success ) > > Mind elaboratong why you think we need to force the cast? That seems > to take away some of the appeal of the solution.
I don't know. It just feels too magic otherwise, but I guess it's no different than what the system is already doing in it's normal automatic type casting situations so I don't think I can really complain here. >> I find "Error::Success" really unintuitive and kind of funny too. :) > > Yeah, agree, that's part of the question what namespace to use. > "Broker::Success" would certainly be nicer. Yep. .Seth -- Seth Hall International Computer Science Institute (Bro) because everyone has a network http://www.bro.org/ _______________________________________________ bro-dev mailing list [email protected] http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev
