Neocities.org

This Is (NOT!) A Car Club

notacarclub.kbrecordzz.com

127,152 views
25 followers
3,026 updates
0 tips
Abstractions in programming promise to create efficiency (mostly for the programmer, but still), but it only creates efficiency in the actual program when you reuse code in functions instead of copy-pasting it over and over (one of the purposes of functions) which results in less total code in the executable file.
1 like
juntogawa 2 weeks ago

But this doesn't matter in object-oriented programming anyway, because the objects have overhead in code size, memory usage and computation time, that makes the code automatically much less efficient anyway.

1 like
juntogawa 2 weeks ago

Abstractions also promise to make code readable, but it doesn't make the actual working CODE more readable, it just makes the abstractions more readable. So even if it's easily readable, you won't understand the interesting parts anyway.

1 like
juntogawa 2 weeks ago

When abstractions aren't used primarily for code reuse, but instead to hide meaning, the program will grow more and more inefficient. Because you stop reading the actual code and only read the abstractions.

1 like
juntogawa 2 weeks ago

And then you won't know about what actually happens anymore underneath the abstractions anymore. Now those things can be as efficient as they want without you knowing about it. And it tends to grow more inefficient and not the other way, because of our large RAM sizes and CPU speeds today.

1 like
juntogawa 2 weeks ago

This is why Notepad is slower today instead of faster. It's not because of slow hardware or incompetent programmers, it's computer bureaucracy (probably heavily influenced by the organizational bureaucracy at Microsoft).

1 like
juntogawa 2 weeks ago

So, abstractions probably won't create programmer efficiency either, because abstractions lead to less understanding of the actual program, which leads to computer bureaucracy, which is a much bigger problem to handle than just editing code.

1 like
juntogawa 2 weeks ago

So... I remove all object-orientation and unnecessary abstractions in my code, and just use functions to prevent too much code reuse. All other structure is in comments so they don't fill up the executable (like objects and functions does, no matter how efficient your language claims to optimize those)

1 like
juntogawa 2 weeks ago

The point of all this is: Don't create more technology to handle your technology, that will leave no space for art.

1 like

Website Stats

Last updated 8 hours ago
CreatedSep 18, 2023
Site Traffic Stats

Tags

comedy 3d gaming games art