Skip to content

Change boolean literals to true and false #2844

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
Jan 10, 2023

Conversation

dominiklohmann
Copy link
Member

Historically, VAST used the literals T and F to denote true and false values. This change switches to true and false instead, which are much more widely used—essentially everywhere.

I asked for feedback on this in the community Slack and this appeared to be a much appreciated change. Given that the next release is a major release this is without a deprecation period. It also changes the printing dual of booleans in VAST's native export format "ascii" to true and false accordingly.

@dominiklohmann dominiklohmann force-pushed the story/sc-15839/boolean-literal-true-false branch from 0bf9e65 to 19c8f1c Compare January 9, 2023 20:41
@dominiklohmann dominiklohmann requested review from mavam and a team January 9, 2023 20:41
@dominiklohmann dominiklohmann marked this pull request as ready for review January 9, 2023 20:41
@dominiklohmann dominiklohmann force-pushed the story/sc-15839/boolean-literal-true-false branch from 19c8f1c to ab64727 Compare January 9, 2023 20:41
Copy link
Member

@mavam mavam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💫

Historically, VAST used the literals `T` and `F` to denote true and
false values. This change switches to `true` and `false` instead, which
are much more widely used—essentially everywhere.

I asked for feedback on this in the community Slack and this appeared to
be a much appreciated change. Given that the next release is a major
release this is without a deprecation period. It also changes the
printing dual of booleans in VAST's native export format "ascii" to
`true` and `false` accordingly.
@dominiklohmann dominiklohmann force-pushed the story/sc-15839/boolean-literal-true-false branch from ab64727 to 5211129 Compare January 10, 2023 06:50
@dominiklohmann dominiklohmann merged commit 15e682c into master Jan 10, 2023
@dominiklohmann dominiklohmann deleted the story/sc-15839/boolean-literal-true-false branch January 10, 2023 07:41
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