3 ms·
Abstraction is good when it lets you not thing about something and still understand how the system works. Abstraction cost is that the system becomes more comp
by ajuc 6y ago
Abstraction is good when it lets you not thing about something and still understand how the system works.
Abstraction cost is that the system becomes more complex overall.
Good abstraction makes the system easier to reason about and leaks rarely, so you rarely have to think about the insides. But all abstractions leak under some circumstances.
If you have 100 layers of abstractions at any given moment some layer leaks and you're constantly fighting the system without being able to understand how the whole thing should work.
Language syntax only helps by removing the need for some abstractions by including them in the language.