Writing type params with <> (e.g. List<Int>) seems the most natural to me: probably because I encountered that syntax first.
Between C++, Java and TypeScript I think it's the most common too.
List[Int] seems to be next most common (Scala, Python) but TIL Gleam uses List(Int)!
Wilfred Hughes
@wilfredh@mastodon.social
Programming languages, human factors, and a healthy dose of Emacs.
mastodon.social
Wilfred Hughes
@wilfredh@mastodon.social
Programming languages, human factors, and a healthy dose of Emacs.
mastodon.social
@wilfredh@mastodon.social
·
Mar 08, 2026
3
0
0
Loading comments...