Replies: 1 comment
|
First, existing apis can never change. Although property getters and GetXXX methods are close in the signature, there are different convensional expectation to them. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
One of the most confusing part to new .Net developers is when to Prefix a Get to a method instead of using a property. In my opinion it makes more sense to refectore the CoreFX to use Properties instead of Get methods. For example,
GetHashCode()can be replace with a propertyHashCode. What do you think? Is it a good idea?All reactions