Why is the description for tag arraylist only about the Java implementation?
Yes, most of the questions are about the Java version. But there are a lot of realizations in different languages. For, example C# ArrayList.
Why is the description for tag arraylist only about the Java implementation?
Yes, most of the questions are about the Java version. But there are a lot of realizations in different languages. For, example C# ArrayList.
The simple/obvious answer is also the correct one: because the person who wrote the tag wiki (Stephen C) is a Java expert. He interpreted the tag relative to his own expertise, just as we all tend to do, and he wrote about what he knows best, just as he should.
If we wait around for someone who has exhaustive knowledge of all languages, libraries, and tools to write a tag wiki, then we'll be waiting forever.
There's no particular reason why arraylist should be limited to Java. There is certainly an ArrayList type in .NET, and possibly in other languages/frameworks that I am not familiar with, too.
While what Hans Passant observes is absolutely true—the ArrayList class is largely obsolete in the .NET world, having been superseded by the introduction of generic types in version 2—deprecated or not, the class does still exist, so there are still valid uses of the tag. Not to mention old questions, like the one Maroun Maroun pointed out, that use the tag.
If you are familiar with one or more of these other languages/frameworks where ArrayList is found, then go ahead and revise the tag wiki to make it more general. That's why wikis are collaboratively edited.
I just went ahead and made the tag wiki somewhat less Java-centric by adding some prologue text, by moving the preexisting text under a new language / platform-specific heading, and by adding another heading for the .NET version of the identically-named data type.
If anyone else feels this was a bad idea or can be improved further, please edit away. :-)
List<T>
9 years ago. Even if it were then it still doesn't matter, every language has a [string]. Tag visitors know what it means.