Skip to content

Conversation

jskeet
Copy link
Contributor

@jskeet jskeet commented Apr 17, 2025

This uses two properties instead of a property and a method.

This uses two properties instead of a property and a method.
@jskeet jskeet requested a review from a team April 17, 2025 13:45
Copy link
Contributor

@jnm2 jnm2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I lean toward this one due to the simplicity of demonstrating the concept above it.

Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer this option to #1314 as well.

The reason for the ambiguity is clear, without a cross-reference to the method vs. property rule. It's focused on what this example is meant to focus on.

@jskeet
Copy link
Contributor Author

jskeet commented Apr 17, 2025

With two votes for this, I reckon if anyone else speaks up in favor, we can just merge this, abandon the other, and mark the issue as closed.

@Nigel-Ecma @gafter @ericlippert thoughts?

@jskeet jskeet merged commit 7052172 into dotnet:draft-v8 May 14, 2025
6 checks passed
@jskeet
Copy link
Contributor Author

jskeet commented May 14, 2025

Closed in favor of #1313.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants