Function () with no paramater and pipe, AND, function () with 1 paramater and use
#3573
Answered
by
lpil
bobjoe12131
asked this question in
Questions & support
-
Why does the formatter and/or the compiler allow both parentheses and no parentheses? |
Beta Was this translation helpful? Give feedback.
Answered by
lpil
Sep 1, 2024
Replies: 1 comment
-
Because there's no way to know if it's safe to remove parens without performing type checking. It's recommended not to use parens. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
bobjoe12131
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Because there's no way to know if it's safe to remove parens without performing type checking. It's recommended not to use parens.