The arrayList is deprecated?

Hi,

I notieced that in M4, the usage of “arrayList” is deprecated and recommended to use “arrayListOf” instead. What’s the reason for adding “Of”? I prefer the name to be shorter, and failed to see how “Of” is any more clear or better.

Also, how come deprecation is not showing in the API doc here: http://jetbrains.github.com/kotlin/versions/snapshot/apidocs/index.html?

Also, it would be useful to clearly stating which verion of kotlin does the API doc is actually generated from.

Thanks,
Zemian

For the first question read "Support for Deprecation" in http://blog.jetbrains.com/kotlin/2012/12/kotlin-m4-is-out/

+1 for the docs.

http://youtrack.jetbrains.com/issue/KT-3196