This is actually one of the biggest missing features in most programming 
languages. 
Giving good interactive feedback and educating people instead of 
disallowing things just "because these noobs can't deal with it 
anyways"....aand because its actually pretty hard to give good feedback :D
But I think Julia started off as very intuitive and educational and I hope 
it will continue on this road =)

Am Samstag, 18. Juli 2015 12:00:16 UTC+2 schrieb Felipe Jiménez:
>
> Say A is an Array, like A = [1 2 3 4], and I index it with an empty vector.
>
> In Julia v.0.3, A[[]] is empty. I find this convenient when programming.
>
> In Julia v.0.4, A[[]] throws an error.
>
> Is this intended? It sometimes forces me to code if isempty()... else...
>
> My version is 0.4.0-dev+5841 (2015-07-07 14:58 UTC), Commit f428392* (10 
> days old master), x86_64-w64-mingw32.
>
> Thank you.
>

Reply via email to