[Bro-Dev] [Proposal] Language extensions for better Broker support

Seth Hall seth at icir.org
Thu Dec 15 22:36:35 PST 2016

> On Dec 15, 2016, at 8:01 PM, Robin Sommer <robin at icir.org> 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.



Seth Hall
International Computer Science Institute
(Bro) because everyone has a network

More information about the bro-dev mailing list