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

[STYLE] Rename "bracket" to "parentheses" #364

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

itislu
Copy link
Collaborator

@itislu itislu commented Jul 23, 2024

  • Parentheses: ( )
  • Brackets: [ ]
  • Braces: { }

All of them mean something different for bash ofc. In bash's documentation they use the same terminology.

Leaving it as it is with bracket is confusing when going through the code and you start to wonder if we handle [ ], which we don't.

I guess you can name all of them brackets, but since we have support for both parentheses ( ) and braces { }, using the term in a general way is just not very clear.

@itislu itislu added the chore A routine task label Jul 23, 2024
@itislu itislu linked an issue Jul 23, 2024 that may be closed by this pull request
@itislu itislu force-pushed the style-bracket-to-paren branch 2 times, most recently from 8393e15 to fe968ca Compare July 24, 2024 00:55
Copy link
Owner

@LeaYeh LeaYeh left a comment

Choose a reason for hiding this comment

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

Need to modify python code

- Parentheses: `( )`
- Brackets: `[ ]`
- Braces: `{ }`

All of them mean something different for bash ofc.
In bash's documentation they use the same terminology.

Leaving it as it is with bracket is confusing when going through the code and you start to wonder if we handle `[ ]`, which we don't.

I guess you can name all of them brackets, but since we have support for both parentheses `( )` and braces `{ }`, using the term in a general way is just not very clear.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore A routine task
Projects
Status: Changes requested
Development

Successfully merging this pull request may close these issues.

[STYLE] Rename "bracket" to "parentheses" in code
2 participants