Skip to content
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

Create easier syntax for string messages #3

Closed
khalidabuhakmeh opened this issue Jul 27, 2011 · 1 comment
Closed

Create easier syntax for string messages #3

khalidabuhakmeh opened this issue Jul 27, 2011 · 1 comment
Assignees

Comments

@khalidabuhakmeh
Copy link
Owner

right now you have to do string.format to put dynamic content into your messages. This could be fixed by creating an extension method that hangs off of string.

"this is a cool message for {0}".with(name)

also thinking about named parameters

"this is a cool message for {name}.with(name)

Have to research this more.

@ghost ghost assigned khalidabuhakmeh Jul 27, 2011
@khalidabuhakmeh
Copy link
Owner Author

string interpolation makes this obsolete

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

No branches or pull requests

1 participant