Type helpers instead of UFCS
BBasile via Digitalmars-d
digitalmars-d at puremagic.com
Sat Sep 12 14:04:46 PDT 2015
On Saturday, 12 September 2015 at 20:54:09 UTC, Enamex wrote:
> On Saturday, 12 September 2015 at 20:40:35 UTC, Adam D. Ruppe
> wrote:
>> On Saturday, 12 September 2015 at 20:37:37 UTC, BBasile wrote:
>>> - code completion in IDE. It'will never work.
>>
>> Why not? I haven't actually tried it, but it seems like a
>> pretty easy problem, except perhaps with complex templates.
>>
>>> - noobs, code is unreadable.
>>
>> meh
>
>[...]
> With a dedicated syntax, specific functions/groups-of-functions
> could be easily recognized as extensions of a type and could
> even be made to be recognized by templates
You've got the idea. IDE plugins can not decently provide
completion based on the UFCS possibilities. With something like a
type helper, it's more likely to work.
More information about the Digitalmars-d
mailing list