3 ms·
People write languages at higher levels of abstraction not to type fewer characters but to reduce logical errors that can occur, and provide better abstractions
by PartiallyTyped 4y ago
People write languages at higher levels of abstraction not to type fewer characters but to reduce logical errors that can occur, and provide better abstractions over things.
An example here is an infinite list. It's far easier to do that in say Haskell and python, applying filters along the way using higher order and curried functions than it is to do it in say C.
- theshrike79 4y agoThere is a difference between higher levels of abstraction and having a separate symbol for every single operation imaginable just for the sake of "expressiveness". Yes, you can shove a 20 line function into one line with a ton of weird symbols, but the one reading it after you will need to unroll it anyway to understand it so what's the point?