<div dir="ltr">Hi.<div><br></div><div>Similar to Jakob, I have used traits in the past.</div><div>And I plan to use them again shortly.</div><div><br></div><div>In both cases, I have used them in conjunction with PetitParser for AST modelling - there are certain commonalities across the classes that don't necessarily conform to abstract/subclass hierarchies that have made them useful in the past (for my COBOL parser) and may also apply in the near future for my DB2 SQL parser.  At least for the later, I'd prefer to implement what is needed in Traits instead of forcing the abstract superclass for the AST model.</div><div><br></div><div>And this time around I've been ruminating about adding the support needed to make this more useful for work as well.  If there are other folks interested (sounds like Patrick and Jakob might be), then all the better.</div><div><br></div><div>cbc</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 28, 2019 at 2:11 PM tim Rowledge <<a href="mailto:tim@rowledge.org">tim@rowledge.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
> On 2019-03-28, at 1:35 PM, H. Hirzel <<a href="mailto:hannes.hirzel@gmail.com" target="_blank">hannes.hirzel@gmail.com</a>> wrote:<br>
> <br>
> On 3/28/19, tim Rowledge <<a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>> wrote:<br>
>> <br>
>>> <br>
<br>
[snip]<br>
>>> What are the current use cases for traits?<br>
> <br>
> To implement object roles, for example.<br>
> <br>
>>> Just asking, because I'm not aware of any. And if that's the case in<br>
>>> general, then we should remove them.<br>
>>> Tool support is still incomplete after 10+ years.<br>
> <br>
> Traits are not used because they are not properly supported,<br>
<br>
Exactly; they don't get used because no good support, which means very low odds of there being any interesting uses found for them, which means no tools get developed and round we go. We should never have put them into the image without tools (at least in principle) being developed. <br>
<br>
tim<br>
--<br>
tim Rowledge; <a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>; <a href="http://www.rowledge.org/tim" rel="noreferrer" target="_blank">http://www.rowledge.org/tim</a><br>
I'm so skeptical that I'm not sure I'm really a skeptic<br>
<br>
<br>
<br>
</blockquote></div>