Hacker News new | ask | show | jobs
by bsder 1020 days 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.

1 comments

where 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.
(in (is "prefix notation" (and "alive" "kicking")) "all lisps")

    (-<> "alive"
         (and "kicking")
         (is "prefix notation" <>)
         (in "all lisps"))
But 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.