-- Leo's gemini proxy

-- Connecting to freeshell.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

My turn to operate

Following on from:

RE: There are reasons for operators


operator:   5 + 7
function:   add(5, 7)
Lisp style: (+ 5 7)

I suggest that there are no real differences here. But because of the way we learn arithmetic, the first one seems "natural". Maybe we shouldn't be taught infix operators at school? All schools and mathematicians should change the way they express operations. Maybe if I say "please"?


3 + 5 * 7

Oh poop. Now I need precedence rules or brackets.


+ 3 * 7 5

Yay, no ambiguity. No brackets. Unless it's Lisp ;-)


back to gemlog

-- Response ended

-- Page fetched on Thu May 2 12:52:42 2024