Title: Do not require { ... } (curly braces) around variable names for null-conditional member access · Issue #14025 · PowerShell/PowerShell · GitHub
Open Graph Title: Do not require { ... } (curly braces) around variable names for null-conditional member access · Issue #14025 · PowerShell/PowerShell
X Title: Do not require { ... } (curly braces) around variable names for null-conditional member access · Issue #14025 · PowerShell/PowerShell
Description: Note: This issue is just a reminder to reopen #11379 in order to have it revisited by the PowerShell committee; the willingness to do so was signaled in the Sept. '20 community call (see details below), but there was no follow-up, and le...
Open Graph Description: Note: This issue is just a reminder to reopen #11379 in order to have it revisited by the PowerShell committee; the willingness to do so was signaled in the Sept. '20 community call (see details be...
X Description: Note: This issue is just a reminder to reopen #11379 in order to have it revisited by the PowerShell committee; the willingness to do so was signaled in the Sept. '20 community call (see detail...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/14025
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Do not require { ... } (curly braces) around variable names for null-conditional member access","articleBody":"Note: This issue is just a reminder to reopen #11379 in order to have it revisited by the PowerShell committee; the willingness to do so was signaled in the Sept. '20 community call (see details below), but there was no follow-up, and leaving an issue in a closed state usually means that it falls through the cracks. There is clearly community interest in having this revisited, and the analysis that led to closing the issue is disputed.\r\n\r\nOnce #11379 is reopened, this issue can be closed.\r\n\r\n------\r\n\r\n@SteveL-MSFT \r\n\r\nThanks for discussing issue #11379 in the September community call (https://aka.ms/PSCommunityCall; as of this writing, the September call's recording has not been posted there, but is accessible at https://aka.ms/JoinPSCall, until the next call), starting at 46:00, based on @ThomasNieto's suggestion in the prior solicitation for discussion topics at https://github.com/PowerShell/PowerShell-RFC/issues/260:\r\n\r\n(I was hoping to provide a direct link to the relevant portion of the recording, but that will have to wait until it is posted to YouTube and linked to at https://aka.ms/PSCommunityCall.)\r\n\r\nBased on your remarks in the recording:\r\n\r\n* Given that you indicated willingness to revisit this, please reopen the linked issue and re-tag it as `Review - Committee`.\r\n\r\n* As for your remarks that enclosing variable names in curly braces is a preexisting feature and that people object to having to use them in this case on _aesthetic_ grounds:\r\n\r\n * I don't think anyone here _isn't_ aware that `{...}` _can_ and sometimes _must_ be used to disambiguate variable names.\r\n * It is also not about _aesthetics_, it is primarily about _not getting the expected behavior_ in manner that potentially _fails quietly_ (depending on what strict mode is in effect), due to _not expecting to have to use `{...}` in this case_; a secondary concern is typing inconvenience.\r\n\r\n\r\n","author":{"url":"https://github.com/mklement0","@type":"Person","name":"mklement0"},"datePublished":"2020-11-10T17:51:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":28},"url":"https://github.com/14025/PowerShell/issues/14025"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:96bb57e0-8942-16fb-532f-f2d1fdf420d0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A168:AEB85:1273AA0:1A4E64F:6A5A18B4 |
| html-safe-nonce | ed281e44f11981c8f5b723b81349481e6d40d98ce670460cc30d679f3d81bc4f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTY4OkFFQjg1OjEyNzNBQTA6MUE0RTY0Rjo2QTVBMThCNCIsInZpc2l0b3JfaWQiOiI1Mjk3NzQ0MTc2MDE2Mzk4NTE2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4f9529f6d8c6da1181e8a33a031fb8a3ecbd274432e35a497c1e9e468d3707af |
| hovercard-subject-tag | issue:740119106 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/14025/issue_layout |
| twitter:image | https://opengraph.githubassets.com/77cd51d06b8b614c010fe637a4e60c446e28c6d858d000f486cace33b8c347eb/PowerShell/PowerShell/issues/14025 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/77cd51d06b8b614c010fe637a4e60c446e28c6d858d000f486cace33b8c347eb/PowerShell/PowerShell/issues/14025 |
| og:image:alt | Note: This issue is just a reminder to reopen #11379 in order to have it revisited by the PowerShell committee; the willingness to do so was signaled in the Sept. '20 community call (see details be... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mklement0 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8c2fe7351e4e987cb8f75e2425a0b895d807779bc4c2d3c312be0a54082219f7 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 501ec24a694e4933bb3d70e768b1461c0def57a2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width