Skip to content
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

Equality #308

Closed
fabriciofx opened this issue Jul 11, 2017 · 30 comments
Closed

Equality #308

fabriciofx opened this issue Jul 11, 2017 · 30 comments

Comments

@fabriciofx
Copy link
Contributor

Let's implement Comparison like can see here. I'll handle it.

@yegor256
Copy link
Owner

@fabriciofx right, let's do it.

@yegor256
Copy link
Owner

@fabriciofx but let's call it Equality

@fabriciofx
Copy link
Contributor Author

@yegor256 Ok!

fabriciofx added a commit to fabriciofx/cactoos that referenced this issue Jul 11, 2017
@fabriciofx
Copy link
Contributor Author

@yegor256 Could you review the PR? Thanks!

@fabriciofx fabriciofx changed the title Comparison Equality Jul 11, 2017
fabriciofx added a commit to fabriciofx/cactoos that referenced this issue Jul 18, 2017
@svendiedrichsen
Copy link
Contributor

svendiedrichsen commented Jul 20, 2017

How about using Bytes.NonNulls when assigning left/right in the Equality constructor? Thus you get some better exceptions. If so you should have some tests using NULL Bytes.

@fabriciofx
Copy link
Contributor Author

@svendiedrichsen Well, I don't know if it's better. The idea is give to developer the choice of use NonNulls or not. If I put NonNull inside Equality, we remove the power of choice. @yegor256 WDYT?

@svendiedrichsen
Copy link
Contributor

svendiedrichsen commented Jul 28, 2017

@fabriciofx, @yegor256: I'd say that the Equality object has to be in power to make this decision. But anyway the only difference that using NonNull brings is a better Exception using a proper message. So imho Equality should be in charge of deciding to throw better exceptions.

But in general can't i see the use of NonNull in the first place. Doesn't it violate the first principle as stated for this project? Or shouldn't all objects of this project use such a NonNull implementation? WDYT?

@fabriciofx
Copy link
Contributor Author

@svendiedrichsen I don't think Equality should use a NonNull implementation. I think it must be simpler possible. @yegor256 WDYT? Should I continue with this issue? Should I close it?

@fabriciofx
Copy link
Contributor Author

@yegor256 ping!

@yegor256
Copy link
Owner

@fabriciofx I don't see a link between NonNull and Equality. Anyway, it's necessary to see the code.

@llorllale
Copy link
Contributor

@0crat in

@llorllale
Copy link
Contributor

@0crat assign @fabriciofx

@0crat 0crat added the scope label Apr 18, 2018
@0crat
Copy link
Collaborator

0crat commented Apr 18, 2018

@0crat in (here)

@llorllale Job #308 is now in scope, role is DEV

@0crat
Copy link
Collaborator

0crat commented Apr 18, 2018

@0crat assign @fabriciofx (here)

@llorllale The job #308 assigned to @fabriciofx/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this

@0crat
Copy link
Collaborator

0crat commented Apr 18, 2018

Bug was reported, see §29: +15 point(s) just awarded to @fabriciofx/z

@0crat
Copy link
Collaborator

0crat commented Apr 18, 2018

Manual assignment of issues is discouraged, see §19: -5 point(s) just awarded to @llorllale/z

@0crat
Copy link
Collaborator

0crat commented Apr 18, 2018

It is strongly discouraged to assign jobs to their creators, see §19: -15 point(s) just awarded to @llorllale/z

@0crat
Copy link
Collaborator

0crat commented Apr 23, 2018

@fabriciofx/z this job was assigned to you 5days ago. It will be taken away from you soon, unless you close it, see §8. Read this and this, please.

@0crat
Copy link
Collaborator

0crat commented May 2, 2018

The user @fabriciofx/z resigned from #308, please stop working. Reason for job resignation: It is older than 10 days, see §8

@0crat
Copy link
Collaborator

0crat commented May 2, 2018

Resigned on delay, see §8: -30 point(s) just awarded to @fabriciofx/z

@0crat
Copy link
Collaborator

0crat commented May 2, 2018

The job #308 assigned to @Vatavuk/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this

Vatavuk pushed a commit to Vatavuk/cactoos that referenced this issue May 3, 2018
@Vatavuk Vatavuk mentioned this issue May 3, 2018
Vatavuk pushed a commit to Vatavuk/cactoos that referenced this issue May 4, 2018
Vatavuk pushed a commit to Vatavuk/cactoos that referenced this issue May 4, 2018
Vatavuk pushed a commit to Vatavuk/cactoos that referenced this issue May 5, 2018
Vatavuk pushed a commit to Vatavuk/cactoos that referenced this issue May 5, 2018
@Vatavuk
Copy link
Contributor

Vatavuk commented May 5, 2018

@llorllale Please close this issue since @fabriciofx is inactive. It was solved in #809

@llorllale
Copy link
Contributor

@Vatavuk I agree, thanks.

@0crat
Copy link
Collaborator

0crat commented May 5, 2018

@elenavolokhova/z please review this job completed by @Vatavuk/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed

@0crat 0crat removed the scope label May 5, 2018
@0crat
Copy link
Collaborator

0crat commented May 5, 2018

The job #308 is now out of scope

@elenavolokhova
Copy link

@svendiedrichsen According to our Policy:

Messages in a job always start with a name of a user they are addressed to;

This comment was not addressed:

How about using Bytes.NonNulls when assigning left/right in the Equality constructor? Thus you get some better exceptions. If so you should have some tests using NULL Bytes.

Please, confirm that you'll follow this rule in future.

@svendiedrichsen
Copy link
Contributor

@elenavolokhova Confirmed.

@elenavolokhova
Copy link

@0crat quality acceptable

@0crat
Copy link
Collaborator

0crat commented May 6, 2018

Order was finished, quality is "acceptable": +30 point(s) just awarded to @Vatavuk/z

@0crat
Copy link
Collaborator

0crat commented May 6, 2018

Quality review completed: +8 point(s) just awarded to @elenavolokhova/z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants