SE-0359: Build-Time Constant Values

I agree with Avi that I find it difficult to support this proposal. The only motivating example in the proposal that is not solved by a future direction is the one with a clamping property wrapper, but even in that case the problem it solves is so minor that it doesn't seem worth adding to the language to fix.

Yes, you can guarantee that the bounds you initialize with are known at compile time, but the bounds themselves are still runtime properties. I don't see the point.

Without a new motivating example which is actually solved by the proposed feature, I cannot support this proposal. -1

7 Likes