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

boolean #9

Closed
dylang opened this issue Feb 24, 2013 · 2 comments
Closed

boolean #9

dylang opened this issue Feb 24, 2013 · 2 comments

Comments

@dylang
Copy link

dylang commented Feb 24, 2013

We use these kinds of files for configuration, right?

Looking through a random configuration files about half of it was booleans.

I know "yes" can be truthy, but I'd much rather have a definitive true/false than something like:

enableSymmetricUpgradableAdapter = "true"
enableNonVolatileDataStreamProtocol = "TRUE"
enableSolidStateMechanicsArchive = "yes"
enableFuzzyDataStreamVariable = "sure why not"
enableAsynchronousRigidSignal = 1
enableDigitalFloatingPointProcedure = 3.14159265359

I propose true/false because it directly translates to JSON without any coercion.

Buzzwords from some random generator.

@mojombo
Copy link
Member

mojombo commented Feb 24, 2013

Just added it a few minutes ago.

@mojombo mojombo closed this as completed Feb 24, 2013
@dylang
Copy link
Author

dylang commented Feb 24, 2013

haha nice!

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

2 participants