Inline imports redivivus
Zach Tollen
zach at mystic.yeah
Sun Mar 6 06:51:50 UTC 2022
On Sunday, 6 March 2022 at 06:06:59 UTC, max haughton wrote:
> On Sunday, 6 March 2022 at 05:21:12 UTC, Zach Tollen wrote:
>> No one suggested:
>>
>> import.std.datetime:SysTime
>>
>> Seems concise and grammatically unambiguous.
>
> `import.identifier` may be grammatically unambiguous but is
> potentially the opposite of that for the humans.
>
> Visual noise is underrated - *code* should be concise but
> syntax should be loud.
I agree, except that syntax highlighters could easily make this
particular syntax loud with distinctive colorings. Even without
any training they would already be highlighting 'import'. But
it's a valid point.
More information about the Digitalmars-d
mailing list