News for hackers. Stuff that matters.
Re:Abstraction: Not what you think it is by akomtu on Wednesday March 30, 2022 @10:31AM (#30855708)
Functions are abstractions in time; data structures are abstractions in space. For example, the same abstraction looks like binary search when drscribed as a function and it looks like a binary tree when described as a data structure. What binary search looks like by itself is unthinkable to us because anything we can think about has to be projected to space or time.

Edit. If the vertical axis is time and the horizontal plane is space, then the floating something in the middle is the 'abstraction', its shadow on the plane below is its data structure and its projection onto the vertical axis is its function. The need to compress everything into the 1-dimensional time is what creates those for-loops and ifs. The art of finding the right data structure is the art of finding the right angle at which the 'abstraction' drops a good descriptive shadow.

Re:Abstraction: Not what you think it is by Koshkin on Wednesday March 30, 2022 @02:03PM (#30858647)
Computers indeed look more and more like black holes. It is not unexpected, then, that one feels the need now to talk about structurefunctions that live in spacetime.
Re:Abstraction: Not what you think it is by all2 on Wednesday March 30, 2022 @05:00PM (#30860707)
We might call a structurefunction an object. Maybe if we made this programming paradigm object oriented we could solve some real-world problems.

[edit] spelling [/edit]