HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by TwoBit | Hacker News Reader
Parent
Full thread
TwoBit
·
All well-known programming languages will do the shift first.
View on HN
thehobgoblin
·
I looked at about 20 different "popular" languages and I believe that only 2 (Go and Swift) of them have shifts at a higher precedence than addition.
I think I'm missing a reference/joke =/
hemdawgz
·
Or this might just be another confident but baseless HN commenter assertion.
copascetic
·
C, C++, Java, and Rust all have shift as lower precedence than addition/subtraction. Edit: and Javascript, Python.
recursive
·
You can add C# as well.
Reply on news.ycombinator.com