On Fri, Jun 10, 2016 at 3:52 PM, Ford O. <fordfo...@gmail.com> wrote:

>
>
>> Aside from goto, is there any language that has this?
>>>
>>
> None that I know of, but that doesn't mean it's a bad feature on it's own.
> Since every kind of block can return a value in julia, stronger control
> over the returned  value could be quite handy...
>

Innovation in control flow is not a goal of Julia.

P.S. Why loops don't return the last line executed value like all other
>>> blocks do?
>>>
>>
>> What value should they evaluate to if they execute zero times?
>>
>
> `nothing`
>

That makes every single loop a type unstable expression.

Reply via email to