Closed
Description
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}()
doesn't work
This creates some confusion for people new to the language – also I think its inconsistent design.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment