2 ms·
For me, it’s using backslash as a namespace operator. You know how in Rust you’d write somepackage::foo? In PHP that’s somepackage\foo. I can’t stand looking at
by kstrauser 2y ago
For me, it’s using backslash as a namespace operator. You know how in Rust you’d write somepackage::foo? In PHP that’s somepackage\foo. I can’t stand looking at it. It sets my teeth on edge. There’s nothing objectively wrong it, but subconsciously it screams to me that whoever came up with this was a font of odd decision making. What’s next, & for multiply?
(I’m sure they had valid reasons for picking \. I don’t think they’re dumb. But seriously, I’d rather use an emoji or something instead. At least then code wouldn’t look like it’s full of escape sequences.)