Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
WalterBright
· 13y ago · 0 comments
In D it would be:
int[int] whatever;
Comments
[–]
cldr
13y ago
Actually wouldn't it be
int[][int] whatever;
? Because I think we should be getting an array out whenever we do
whatever[1]
and not just an int.
[–]
keyle
13y ago
(You were questioning the language designer there)
[–]
cldr
13y ago
I know, I think he misread the C++ code.
[–]
WalterBright
OP
13y ago
Yes, you're right.