Replies: 2 comments
-
|
Would introduce waaay too much breakage. And if you follow the logic, this also would would eliminate operator overloads and destructors and properties and anything else that hides a function call. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
It's not exactly hidden control flow, though. If you're unaware that something is a function, that's ultimately your responsibility. Maybe better names can also help with this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm pretty sure this will go nowhere, but anyway.
Consider deprecating optional parentheses for zero-argument function calls. This is an unfortunate design choice, because it introduces hidden control flow, and hidden control flow is bad
Beta Was this translation helpful? Give feedback.
All reactions