[ Content | View menu ]

Infix Operators

Mark Mzyk | February 14, 2008

You learn something new everyday. While working my way through the Crosswalk and learning Erlang, I came across a comment about an infix operator. I had no idea what that was, so I looked it up. Turns out it’s just the notation of writing the operator between the operands, as opposed to writing it before or after.

So 2 + 2 is written in infix notation. It’s something I use everyday and I didn’t even realize it had a name.

Wikipedia page: Infix notation

Filed in: General,Languages.