-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve documentation for deprecated methods that only make sense for parallel collections #12900
Comments
"perhaps the method should also be deprecated?" - but it is already deprecated, right? |
@philipschwarz You are right. In that case, perhaps all that's needed is to adjust the deprecation message and/or Scaladoc for the deprecated method(s). I've adjusted the ticket title accordingly. I never took the parallel programming course — does |
yes, it starts coming up
|
I was just visiting the ticket that It would be amazing to have targeted API, where certain symbols are "unlocked" by certain values of Similarly, at least the parallel classes that "infect" core packages could be preloaded in REPL but invisible. The REPL use case was ad hoc unlocking, which would require symbols exist but filtered from lookup. |
Actually, I do not really get why Like "If someone hands me a parallel collection, it will be fast. If it's a non-parallel one (and maybe par collections aren't even on the classpath) it will still work as expected with expected performance. And if it's some very weird view of a distributed collection it will still be as fast as the collection allows." Or was it just that nobody really used it so it was deemed irrelevant? |
Not an expert, but it doesn't make sense on My other mantra is that My PR to supply some missing doc did not detect I think The semantics of Deprecation affects autocomplete? That may justify deprecation. Experts will hit tab twice, or whatever the secret gesture. |
I did not search for more work to do here: scala/scala@1d0597c |
speaking of the aggregate function, I just finished making this yesterday and can't resist the temptation to share it here in case someone looking at this ticket might be interested in it: http://fpilluminated.com/assets/scala-left-fold-parallelisation-three-approaches.html |
@som-snytt FWIW, I left some comments in scala/scala@1d0597c, but only realised later that it was a commit rather than a PR. |
@philipschwarz thanks, I definitely read
which I obviously remember clearly. I still have a mark where I patted myself on the back. I think github didn't notify me about the other comments, but
was not the reason I did not update. I agree with your clarifications, and thanks. Edit: github doesn't navigate from that commit to PRs to which it belongs, which is scala/scala#10605 |
in this space: scala/scala#10624 |
at scala/toolkit#31 (comment) @philipschwarz noted:
perhaps the method should also be deprecated? and perhaps there are other such methods? @scala/collections
The text was updated successfully, but these errors were encountered: