For arithmetic and boolean operators, mostly nope.
Okay, let me recheck. You mean for arithmetic it doesn't. but for boolean it does. example, ruby has, and or not and && || ! where former has lower precedence over the later. I don't exactly remember but former has lower precedence over assignment operator. what do you think?
well there's also python where operator precedence of & differs from C For a & b == c In C: a & (b == c) in python: (a & b) == c
Yep
You haven't tried Haskell have ya.. 😂🙈
infix notation hurts brains lmao
Postfix gang 😎
You say that as if we have any other form of notation in imperative languages
add(2,3), not really an operator but works :)
btw i have yet to learn functional programming properly
add 2 3 is how you write in haskell as well
2 + 3 is same as imperative langs
Just learn scheme then
*laughs in forth*
Обсуждают сегодня