<div dir="ltr">Work item type and work item are generic enough to represent and understand. As someone mentioned earlier, planner item would imply that the object only relates to the planning phase.<div><br></div><div>Labels and flexibility sound good, would just want to make sure that we create a better end user experience than Google and not create the usability mistakes that Google has made with all that flexibility : )</div><div><br></div><div>-Monica</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 22, 2016 at 12:00 PM, <span dir="ltr"><<a href="mailto:almighty-public-request@redhat.com" target="_blank">almighty-public-request@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send almighty-public mailing list submissions to<br>
<a href="mailto:almighty-public@redhat.com">almighty-public@redhat.com</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://www.redhat.com/mailman/listinfo/almighty-public" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/almighty-<wbr>public</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:almighty-public-request@redhat.com">almighty-public-request@<wbr>redhat.com</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:almighty-public-owner@redhat.com">almighty-public-owner@redhat.<wbr>com</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of almighty-public digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Equaler considered harmful (Andrew Lee Rubinger)<br>
2. Terminology: work item -> planner item (Baiju Muthukadan)<br>
3. Re: Terminology: work item -> planner item (Andrew Lee Rubinger)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Thu, 22 Sep 2016 11:35:34 -0400<br>
From: Andrew Lee Rubinger <<a href="mailto:alr@redhat.com">alr@redhat.com</a>><br>
To: Konrad Kleine <<a href="mailto:kkleine@redhat.com">kkleine@redhat.com</a>><br>
Cc: ALMighty-public <<a href="mailto:almighty-public@redhat.com">almighty-public@redhat.com</a>>, Thomas M?der<br>
<<a href="mailto:tmader@redhat.com">tmader@redhat.com</a>><br>
Subject: Re: [almighty] Equaler considered harmful<br>
Message-ID:<br>
<<a href="mailto:CABm567H_tRQYbeOhdEn_oS3G95Dfw8r1YhBo2ydDBQdenXSHTw@mail.gmail.com">CABm567H_tRQYbeOhdEn_<wbr>oS3G95Dfw8r1YhBo2ydDBQdenXSHTw<wbr>@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Also, a bit curious:<br>
<br>
Equality {<br>
Equals(left interface{}, right interface{}) bool<br>
}<br>
<br>
What does the implementation of this look like? Its usage? Because now to<br>
achieve your point 4) we've moved the responsibility of determining<br>
equality from the object in question to some external equality-checker.<br>
How does the equality-checker know about the various types it has to<br>
support?<br>
<br>
S,<br>
ALR<br>
<br>
On Thu, Sep 22, 2016 at 11:30 AM, Andrew Lee Rubinger <<a href="mailto:alr@redhat.com">alr@redhat.com</a>><br>
wrote:<br>
<br>
> Java may have made an odd design design by putting "boolean<br>
> equals(Object)" in the root Object class as a mechanism to test equality by<br>
> value, but there's also:<br>
><br>
> <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html" rel="noreferrer" target="_blank">https://docs.oracle.com/<wbr>javase/8/docs/api/java/lang/<wbr>Comparable.html</a><br>
><br>
> This approach handles not just equals but also greater/less than<br>
> comparisons for types that have ordered values. You could retrofit it to<br>
> return an enum type instead of an int for better clarity.<br>
><br>
> Something to consider :)<br>
><br>
> S,<br>
> ALR<br>
><br>
> On Thu, Sep 22, 2016 at 10:19 AM, Konrad Kleine <<a href="mailto:kkleine@redhat.com">kkleine@redhat.com</a>><br>
> wrote:<br>
><br>
>> Hi Thomas,<br>
>><br>
>> thanks for not pointing in my direction :)<br>
>><br>
>> I can't wait to see a PR for this.<br>
>><br>
>> Regards,<br>
>> Konrad<br>
>><br>
>> On Thu, Sep 22, 2016 at 3:32 PM, Thomas M?der <<a href="mailto:tmader@redhat.com">tmader@redhat.com</a>> wrote:<br>
>><br>
>>> Hi folks,<br>
>>><br>
>>> some time back, we have introduced the "Equaler" interface. I believe<br>
>>> we're going down the wrong path with this: Java got this wrong initially<br>
>>> and we still suffer the consequences. Equaler looks like this:<br>
>>><br>
>>> type Equaler interface {<br>
>>> Equal(Equaler) bool<br>
>>> }<br>
>>><br>
>>> There are a couple of drawbacks to this approach:<br>
>>><br>
>>> 1. There can only be a single implementation of Equals for all time.<br>
>>> But this too restrictive: for example, I might want to include the version<br>
>>> field in a struct in the comparison for some cases, in other cases I simply<br>
>>> don't care. Generally, there can be many equivalence relationships for a<br>
>>> given set of objects. For all we know, we might consider two objects equal<br>
>>> if they have the same color.<br>
>>> 2. You can't compose equality with this implementation<br>
>>> In Java, this has given rise to classes like "EqualsBuilder" that<br>
>>> allowed to do exactly that.<br>
>>> 3. We can't implement equality based on interfaces<br>
>>> We'd have to reimplement equality for every struct (which is the<br>
>>> first parameter).<br>
>>> 4. You always have to check for null before calling Equals()<br>
>>><br>
>>> So I propose to rewrite the interface to :<br>
>>><br>
>>> Equality {<br>
>>><br>
>>> Equals(left interface{}, right interface{}) bool<br>
>>><br>
>>> }<br>
>>><br>
>>> I think it would make sense that I prepare a PR to illustrate my<br>
>>> approach porting the current implementations in the "models" packe. A POC<br>
>>> shouldn't take too long.<br>
>>><br>
>>> thoughts?<br>
>>><br>
>>> /Thomas<br>
>>><br>
>>> ______________________________<wbr>_________________<br>
>>> almighty-public mailing list<br>
>>> <a href="mailto:almighty-public@redhat.com">almighty-public@redhat.com</a><br>
>>> <a href="https://www.redhat.com/mailman/listinfo/almighty-public" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/almighty-<wbr>public</a><br>
>>><br>
>>><br>
>><br>
>> ______________________________<wbr>_________________<br>
>> almighty-public mailing list<br>
>> <a href="mailto:almighty-public@redhat.com">almighty-public@redhat.com</a><br>
>> <a href="https://www.redhat.com/mailman/listinfo/almighty-public" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/almighty-<wbr>public</a><br>
>><br>
>><br>
><br>
><br>
> --<br>
> Red Hat Developer Programs Architecture<br>
> @ALRubinger<br>
><br>
<br>
<br>
<br>
--<br>
Red Hat Developer Programs Architecture<br>
@ALRubinger<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://www.redhat.com/archives/almighty-public/attachments/20160922/b5cadb77/attachment.html" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>archives/almighty-public/<wbr>attachments/20160922/b5cadb77/<wbr>attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 22 Sep 2016 21:27:18 +0530<br>
From: Baiju Muthukadan <<a href="mailto:bmuthuka@redhat.com">bmuthuka@redhat.com</a>><br>
To: ALMighty-public <<a href="mailto:almighty-public@redhat.com">almighty-public@redhat.com</a>><br>
Subject: [almighty] Terminology: work item -> planner item<br>
Message-ID:<br>
<<a href="mailto:CAJi4GASx7kzHDXi0w9sHf3Uw6qZwgiYXWqbD8WG62Ai-mXLV6w@mail.gmail.com">CAJi4GASx7kzHDXi0w9sHf3Uw6qZw<wbr>giYXWqbD8WG62Ai-mXLV6w@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi All,<br>
<br>
Can we change what we are calling today as work item to planner item ?<br>
<br>
Regards,<br>
Baiju M<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://www.redhat.com/archives/almighty-public/attachments/20160922/a802b1dd/attachment.html" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>archives/almighty-public/<wbr>attachments/20160922/a802b1dd/<wbr>attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Thu, 22 Sep 2016 11:59:51 -0400<br>
From: Andrew Lee Rubinger <<a href="mailto:alr@redhat.com">alr@redhat.com</a>><br>
To: Baiju Muthukadan <<a href="mailto:bmuthuka@redhat.com">bmuthuka@redhat.com</a>><br>
Cc: ALMighty-public <<a href="mailto:almighty-public@redhat.com">almighty-public@redhat.com</a>><br>
Subject: Re: [almighty] Terminology: work item -> planner item<br>
Message-ID:<br>
<CABm567HsNp1rWznzxV5j9jDbDa=<wbr>JKNwh8mtwqFYzFJ=<a href="mailto:so9oUjw@mail.gmail.com">so9oUjw@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
On Thu, Sep 22, 2016 at 11:57 AM, Baiju Muthukadan <<a href="mailto:bmuthuka@redhat.com">bmuthuka@redhat.com</a>><br>
wrote:<br>
<br>
> Hi All,<br>
><br>
> Can we change what we are calling today as work item to planner item ?<br>
><br>
<br>
Nope. :)<br>
<br>
Work Items are more generic; they may represent entities not part of the<br>
Planner, but instead in Build, Code, etc services.<br>
<br>
S,<br>
ALR<br>
<br>
<br>
><br>
> Regards,<br>
> Baiju M<br>
><br>
> ______________________________<wbr>_________________<br>
> almighty-public mailing list<br>
> <a href="mailto:almighty-public@redhat.com">almighty-public@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/almighty-public" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/almighty-<wbr>public</a><br>
><br>
><br>
<br>
<br>
--<br>
Red Hat Developer Programs Architecture<br>
@ALRubinger<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://www.redhat.com/archives/almighty-public/attachments/20160922/8152585a/attachment.html" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>archives/almighty-public/<wbr>attachments/20160922/8152585a/<wbr>attachment.html</a>><br>
<br>
------------------------------<br>
<br>
______________________________<wbr>_________________<br>
almighty-public mailing list<br>
<a href="mailto:almighty-public@redhat.com">almighty-public@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/almighty-public" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/almighty-<wbr>public</a><br>
<br>
<br>
End of almighty-public Digest, Vol 5, Issue 35<br>
******************************<wbr>****************<br>
</blockquote></div><br></div>