Skip to content

move TOML printing to toTOML methods. #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 9, 2015

Conversation

kostiakoval
Copy link
Contributor

Every type should know how to TOML itself and don't expose it to others.

I just moved correct implementation to toTOML() methods for a type.
I think it makes reading code much easier, because implementation details are hidden.
What do you think about it?
The next step I thought could be creating TOMLable protocol and conforming to it

Every type should know how to TOML itself and don't expose it to others.
mxcl added a commit that referenced this pull request Dec 9, 2015
move TOML printing to toTOML methods.
@mxcl mxcl merged commit 4622a66 into swiftlang:master Dec 9, 2015
@mxcl
Copy link
Contributor

mxcl commented Dec 9, 2015

I would enjoy reading the PR for TOMLable.

@kostiakoval kostiakoval deleted the move-toTOML-methods branch December 9, 2015 20:55
@kostiakoval
Copy link
Contributor Author

Ok! 👍starting work on it

aciidgh pushed a commit to aciidgh/swift-package-manager that referenced this pull request Jan 11, 2019
…-test-on-linux

Disable signal handling tests on Linux
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