You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both Dict and Array are parametric types. Constructing a Dict and an Array of variable size differs markedly, though:
* Dict{TypeA,TypeB}()
* Array(Type) [while Array{Type}() doesnt work]
This creates some confusion for people new to the language - also I think its inconsitent design.
The text was updated successfully, but these errors were encountered:
Both Dict and Array are parametric types. Constructing a Dict and an Array of variable size differs markedly, though:
* Dict{TypeA,TypeB}()
* Array(Type) [while Array{Type}() doesnt work]
This creates some confusion for people new to the language - also I think its inconsitent design.
The text was updated successfully, but these errors were encountered: