Let’s stop copying C (2016)
Excluded: Ada, Clojure, D, Haskell, Julia, Lua (the file’s return value is returned from ), Nim, Node (similar to Lua), Perl 6, Python, Rust. Many other languages have copied C’s entire set of operators and their precedence, including this. Wisened up: F# (ops are ), Go, Julia, Lua (bitwise ops are new in 5.3), Perl 6 (ops are ), Python, Ruby, Rust, SQL, Swift, Unix shells. Special mention: C# and Java have C’s precedence, but forbid using bitwise operators on booleans, so the quick test is a compile-time error. Quick test: is -2 with C semantics, 1 with C#, D, expr, Go, Java, JavaScript, OCaml, PowerShell, PHP, Rust, Scala, SQL, Swift, Unix shells, VimL, Visual Basic.
Source: eev.ee