Skip to content

Make convert a utility method rather than private class member#4

Open
jloveridge wants to merge 1 commit intobitrinjani:masterfrom
gradecam:feature/allow-convert-property
Open

Make convert a utility method rather than private class member#4
jloveridge wants to merge 1 commit intobitrinjani:masterfrom
gradecam:feature/allow-convert-property

Conversation

@jloveridge
Copy link

While I don't particularly like prefixing with __ as a method of hiding private methods I think it best to avoid using any kind of name that might reasonably be expected on an arbitrary object extending Castable.

@coveralls
Copy link

coveralls commented Apr 12, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling f29f7bf on gradecam:feature/allow-convert-property into 109f38a on bitrinjani:master.

@jloveridge jloveridge force-pushed the feature/allow-convert-property branch from 47daae2 to b71fa3f Compare April 12, 2018 19:07
@jloveridge jloveridge force-pushed the feature/allow-convert-property branch from b71fa3f to f29f7bf Compare April 12, 2018 19:10
@jloveridge jloveridge changed the title Prefix the convert method with __ avoid naming collisions Make convert a utility method rather than private class member Apr 12, 2018
@jloveridge
Copy link
Author

Updated to avoid needing to have any private convert/__convert method which I think is a better option anyway.

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.

2 participants