4 ms·
Infix parsing chews up a remarkable amount code and memory. It's scary just how much easier it is to parse languages without infix parsing.
by bsder 3y ago
Infix parsing chews up a remarkable amount code and memory.
It's scary just how much easier it is to parse languages without infix parsing.
- fodkodrasz 3y agowhere it takes up the memory in the human brain, where we have more limited working set, than in computers. That is probably why postfix notation is mostly a thing of the past by now in languages intended to be used by humans.
- algas 3y ago(in (is "prefix notation" (and "alive" "kicking")) "all lisps")
- pritambaral 3y ago(-<> "alive" (and "kicking") (is "prefix notation" <>) (in "all lisps"))
- bsder 3y agoBut creates a habit of having exactly two individual items for an operation. Which led us to imperative programming and object oriented programming. Which everybody now recognizes as limited in various artificial ways. Which we are now struggling to shake off given that the majority of chips have a whopping number of parallel cores. Programming languages restrain your thinking about your solution space.