-
Notifications
You must be signed in to change notification settings - Fork 171
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
CollectionOf should be deleted #1252
Comments
@paulodamaso/z please, pay attention to this issue |
@victornoel makes sense. |
@0crat in |
@paulodamaso Job #1252 is now in scope, role is |
Bug was reported, see §29: +15 point(s) just awarded to @victornoel/z |
@paulodamaso, @victornoel |
@fanifieiev indeed, good point |
@fanifieiev We're using version Also, the tests fail because they use the |
@paulodamaso If I remove the |
@fanifieiev So, on top of it all we have a nasty circular dependency between those projects. Let's first remove all |
@paulodamaso I have already removed all usages of |
@fanifieiev Can't understand "wiat", try one of these:
|
I'm not strongly for nor against this proposal, but would just like to note that forcing Also:
This was first pointed out by @victornoel. Can anyone quantify the magnitude of the problem? |
@llorllale can you elaborate on
What do you mean forcing If you meant that |
Not much to elaborate on:
This is plain false.
We're in agreement, although I'd like to point out again that I'm not strongly arguing one way or the other.
This point does not follow from the previous: no |
Let's not be exaggerate ^^ yes, it's not a class, it's an interface, this doesn't change the bottom of what I'm saying. Let me cite the javadoc to clarify what I meant:
That's all I meant, I believe it's better to respect the whole precepts of the domain we are trying to fit with. I get your point that yes, you can get a collection without knowing if it's a list or a set, but... when you create it: what is it that you are creating? a list or a set? I believe it's better to make that decision clearly instead of relying on implicit. Today |
@victornoel This issue has been completed, PR has been merged. Please take the action. |
... but then again, the only thing the use-site need do is declare |
With the above said, what I'm really interested in is the following:
|
@victornoel Please take the action. This task has been finalized, we need you close the issue. |
@fanifieiev sorry for the delay, I was away. For the record, if you can, please tell issue reporter as soon as the PR is merged if you want the issue closed fast, I don't follow each and every PR related to issues I opened personally. |
The job #1252 is now out of scope |
@sereshqua/z please review this job completed by @fanifieiev/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed |
@llorllale & @victornoel please make sure you start all your messages with the name of the users they are related to, see: 1, 2, 3, 4 |
@sereshqua good points, thanks for the reminder |
@sereshqua fixed mine |
@0crat quality acceptable |
Order was finished, quality is "acceptable": +30 point(s) just awarded to @fanifieiev/z |
Quality review completed: +4 point(s) just awarded to @sereshqua/z |
In the Java
Collection
hierarchy,Collection
is not a concrete class.I believe it makes no sense to have a class
CollectionOf
, its behaviour is actually just a duplicate ofListOf
in practice.I propose we simply delete it and let user choose a concrete implementation via
ListOf
,SetOf
or other collections if there are.The text was updated successfully, but these errors were encountered: