Skip to content

Document bool data type #300

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 15, 2018
Merged

Document bool data type #300

merged 1 commit into from
Jan 15, 2018

Conversation

per1234
Copy link
Collaborator

@per1234 per1234 commented Jan 14, 2018

Previously only Arduino's type alias, boolean was documented.

In this case it's arguable that the benefits of a slightly more descriptive type name outweigh the disadvantages of using a non-standard type. For that reason documenting bool and recommending its use instead of boolean is desirable. Accompanying this documentation change will be a move to use bool instead of boolean in all of the official Arduino code.

This change has been approved by cmaglie: arduino/Arduino#6657 (comment)

Closes arduino/Arduino#6657.

Previously only Arduino's type alias, boolean was documented.

In this case it's arguable that the benefits of a slightly more descriptive type name outweigh the disadvantages of using a non-standard type. For that reason documenting bool and recommending its use instead of boolean is desirable.
@SimonePDA SimonePDA merged commit cb2452b into arduino:master Jan 15, 2018
@per1234 per1234 deleted the add-bool-page branch January 15, 2018 21:19
robsoncouto referenced this pull request in arduino/reference-pt Feb 23, 2018
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