-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Switch to go's casting syntax #2231
Comments
I am a person and I quite like the appearance of the existing syntax, though I concede it suffers from precedence issues just like other infix operators. |
I don't like it. The semantics of field access don't have much to do with the semantics of casting, and the syntax makes it look like they do. Nothing wrong with |
Yeah, I was on the "less keywords is better" campaign the other day but I've done some doodling with code that uses 'as' and it seems to read almost strictly worse with I agree the precedence issue on (I guess april is syntax month, eh?) |
I'm convinced that |
Windows thread support: Part 1 This PR adds support for threads on Windows.
Implement condvars for Windows Adds 3 shims for Windows: `SleepConditionVariableSRW`, `WakeConditionVariable`, `WakeAllConditionVariable` to add support for condvars (which fixes rust-lang#2628). Salvaged from what was removed from rust-lang#2231
Implement condvars for Windows Adds 3 shims for Windows: `SleepConditionVariableSRW`, `WakeConditionVariable`, `WakeAllConditionVariable` to add support for condvars (which fixes rust-lang#2628). Salvaged from what was removed from rust-lang#2231
Implement condvars for Windows Adds 3 shims for Windows: `SleepConditionVariableSRW`, `WakeConditionVariable`, `WakeAllConditionVariable` to add support for condvars (which fixes rust-lang#2628). Salvaged from what was removed from rust-lang#2231
Go does:
People like it. It would make our casting precedence much clearer since it would be the same as field/method access (our
as
precedence has changed twice in the last year).The text was updated successfully, but these errors were encountered: