> I think that in addition to changing those to const we'd change Bro to not
> accept creating "global" functions.
You still effectively have global functions if you have a global record w/ a
field that is of function type. Do we do something about that?
> Are there other inconsistencies?
I t
On Sep 27, 2013, at 4:28 PM, "Siwek, Jonathan Luke" wrote:
> Changing most/all existing "global" function declarations to use "const"
> instead would help some, but what about the other inconsistencies?
I think that in addition to changing those to const we'd change Bro to not
accept creatin
>> some_func = my_func;
>
> Please, no ... That's not only hurting readability profoundly but also
> prevents function-level code optimization. Just imagine the impact
> once we start compiling scripts ...
Doesn't readability improve if it makes functions behave in a way more
consistent w/
On Sep 26, 2013, at 6:34 PM, Robin Sommer wrote:
> Please, no ... That's not only hurting readability profoundly but also
> prevents function-level code optimization. Just imagine the impact
> once we start compiling scripts ...
Cool, I agree. I just had to make sure. :)
.Seth
--
Seth Hal
On Thu, Sep 26, 2013 at 16:06 -0400, you wrote:
> some_func = my_func;
Please, no ... That's not only hurting readability profoundly but also
prevents function-level code optimization. Just imagine the impact
once we start compiling scripts ...
Robin
--
Robin Sommer * Phone +1 (510) 72
At scriptland, when we define function prototypes we define them as globals but
they seem to be turned into consts in the core. Does it make sense to actually
make them globals?
It would allow me to do runtime monkey patching… which I'm not saying I'd ever
do (wink, wink). But it would make r