Hacker News new | ask | show | jobs
by mraleph 1293 days ago
Dart does not have arrays, it has lists. Try replacing "Dart array" with "Dart list" instead.
2 comments

Arrays are also somewhat unusual in Rust (because they are fixed-length, unlike vector "Vec").

Why not use "function" or "loop" or something universal as the keyword?

For new experimenters of languages, "array" is the perfect word to use. It's a very common word that everyone learns whenever they start with C or Java. All the people looking to try things will use that term first before learning the proper terms.

Someone who never used rust will search for "rust array". Someone who did will search for "rust vec". You're trying to figure out trends for people who have never used the language.

> You're trying to figure out trends for people who have never used the language.

But you're not filtering out experienced users in the other languages, where "array" is a common term for all levels. So that argument doesn't hold either, unless you included other keywords like "what is" or "how do I" or "what's the equivalent to" to target learners no yet accustomed to the terminology.

This just gives you results for people who know that dart has lists, therefore, not people currently learning and experimenting the language.