3 ms·
Declarative way of thinking is closer to how humans think while imperative code is closer to how machine works. That is why declarative way is objectively bette
by ontouchstart 9y ago
Declarative way of thinking is closer to how humans think while imperative code is closer to how machine works. That is why declarative way is objectively better and more predictable to model human behaviors, not necessarily the more efficient for machines.
Performance will improve due to Moore's law and optimizations.
The big picture is with more and more companies open source their technologies, software development is becoming a more and more social activity and Darwinian.
The mindshare winners are the survivors in technology (and talent) market.
- abiox 9y ago> while imperative code is closer to how machine works somewhat. less so these days than say back in the 8086 era. cpu's these days do all kinds of wild stuff, with their long pipelines, staged execution, executing multiple instructions simultaneously, and other interesting behavior. combine that with smarter compilers that can transform code in various ways to capitalize upon cpu developments, and you might be slightly surprised how some ostensibly boring and linear imperative code actually behaves on a present day cpu.