On Tuesday, April 29, 2014 4:53:05 PM UTC+1, Matt Bauman wrote: > > I use cell arrays very often in Matlab, too, but I've found that I often > don't really need to even worry about the distinction in julia. Square > brackets will constrain the types as much as possible, and if it's not > possible, Any[] == {}. > > Moreover, most of what I used cell arrays for in Matlab are completely > obviated in Julia — Cell arrays of strings (strings are first class) and > passing/parsing/splatting varargs (keyword arguments are wonderful and any > Julian collection can be splatted). > > Yes, I'd been thinking I would use heterogeneous arrays less in Julia, for the reasons you mention.
- [julia-users] Array/Cell - a useful distinction, or no... Oliver Woodford
- [julia-users] Re: Array/Cell - a useful distincti... Ivar Nesje
- [julia-users] Re: Array/Cell - a useful disti... Oliver Woodford
- Re: [julia-users] Re: Array/Cell - a usef... John Myles White
- Re: [julia-users] Re: Array/Cell - a ... Stefan Karpinski
- Re: [julia-users] Re: Array/Cell - a ... Oliver Woodford
- [julia-users] Re: Array/Cell - a useful d... Patrick O'Leary
- [julia-users] Re: Array/Cell - a usef... Oliver Woodford
- [julia-users] Re: Array/Cell - a useful d... Matt Bauman
- [julia-users] Re: Array/Cell - a usef... Oliver Woodford
- Re: [julia-users] Re: Array/Cell... Jacob Quinn
- Re: [julia-users] Re: Array/... Oliver Woodford
- [julia-users] Array/Cell - a useful distinction, ... Jason Merrill
- [julia-users] Re: Array/Cell - a useful disti... Oliver Woodford
- Re: [julia-users] Array/Cell - a useful distincti... Stefan Karpinski
- Re: [julia-users] Array/Cell - a useful disti... Stefan Karpinski
- Re: [julia-users] Array/Cell - a useful disti... Milan Bouchet-Valat
- Re: [julia-users] Array/Cell - a useful disti... Oliver Woodford
- Re: [julia-users] Array/Cell - a useful d... Stefan Karpinski
- Re: [julia-users] Array/Cell - a usef... Oliver Woodford