Shopping for template languages

cc cc at nevernet.com
Mon Aug 12 08:58:59 UTC 2024


On Saturday, 10 August 2024 at 15:41:28 UTC, ryuukk_ wrote:
> Nobody wants to write: `cClass: Character.Class.KNIGHT` or 
> `elements: Character.Elements.EARTH | Character.Elements.FIRE`
>
> Make us able to write:
>
> `cClass: .KNIGHT` and `elements: .EARTH | .FIRE`
>
> Named arguments was a great addition, let's continue in that 
> direction

Yes please thank you.  I'd even lean towards excluding the `.` if 
at all possible but I assume people predict too many potential 
conflicts in other code?  Either way I'd definitely like to see 
this working as a preview, it's a lot easier to see if it Just 
Works or Just Doesn't to try it than to keep it forever locked in 
council session limbo.



More information about the Digitalmars-d mailing list