3 ms·
In software engineering, elegance is prized and is often related to efficiency in several layers. At the human layer, one expression of this idea is the princi
by jcrites 11y ago
In software engineering, elegance is prized and is often related to efficiency in several layers.
At the human layer, one expression of this idea is the principle of least astonishment: "People are part of the system. The design should match the user's experience, expectations, and mental models." (Wikipedia). A system involving people is not efficient if the people are often surprised by its design, implementation, or behavior.
Efficient software solutions also tend to involve elegance. Take Git for example as an improvement over other source control systems. The conceptual primitives that Git is built upon are elegant and recognizing them as the correct basis for source control (along with a strong implementation) resulted in Git's efficiency and power.
Granted, software is different from mathematics, but I find the parallel interesting. I suspect that a mathematician's desire to find an elegant formulation, and appreciation of it, is very similar to the software engineer's.