HaloFour

Results 368 comments of HaloFour

Declaration expressions feel so odd compared to blocks, though. And local functions require you to move the logic of the operation away from where it's intended to be used. Java...

@DavidArno > And nothing will make them overly long more readily than allowing blocks within them. That sounds like an argument against declaration expressions as well. Parenthesis don't make them...

Is a new accessibility modifier necessary or could the compiler be "relaxed" so that `private` can be applied to top-level types?

> What if you're generating part of a partial type? Ah, I see, so this could also apply to a nested class emitted within the generated portion of a partial...

@vladd Namespaces don't really exist, they're just part of the class name so they can't have their own metadata like accessibility levels. The same namespace can be used freely between...

@vladd Different languages, different problems :) Implicitly treating a `file private` class as within it's own unspeakable namespace might be a way for the compiler to lower the class as...

@vladd I don't think that'd work for nested classes unless C# allowed you to define namespaces within a class.

@acaly Because language team members are interested in this due to the use cases and scenarios that impact their work. Language design is subjective and just because some proposals are...

@leandromoh > I would expect I could define a default implementation for static members That is mentioned under "Default implementations" and I think describes the concept of `virtual static` members.

@CyrusNajmabadi > yes. [IAddable for numeric types] was discussed as part of the design. Is it known if the approach being considered to support this by the runtime would be...