News for hackers. Stuff that matters.
Re:That's Not an Abstraction, That's Just a Layer of Indirec... by 29athrowaway on Saturday December 28, 2024 @01:46AM (#42529115)
Computers are to manipulate data.

Data = representations = abstractions

This article is so fundamentally lost that it forgets what computers are for.

Computers exist to implement abstractions.

Re:That's Not an Abstraction, That's Just a Layer of Indirec... by javcasas on Saturday December 28, 2024 @03:27AM (#42529482)
Computers are to manipulate data, not to manipulate a pointer to a pointer to a pointer to a pointer to data.

They can do that too, but the cache miss cost already makes that expensive.

Re:That's Not an Abstraction, That's Just a Layer of Indirec... by dishsoap on Saturday December 28, 2024 @01:48AM (#42529123)
Did you even read it?
Re:That's Not an Abstraction, That's Just a Layer of Indirec... by 29athrowaway on Saturday December 28, 2024 @01:49AM (#42529126)
Unfortunately, I did. It is an attempt to approach complexity, cognitive load and high entropy in code, jumping to conclusions prematurely while suggesting a solution that is worse than the problem.
Re:That's Not an Abstraction, That's Just a Layer of Indirec... by f1shy on Saturday December 28, 2024 @01:56AM (#42529153)
I would really like to convince you that you are missing something very important. Please try to make sense of the article, reading it again a trying to find cases where it makes sense for you.
Re:That's Not an Abstraction, That's Just a Layer of Indirec... by astrobe_ on Saturday December 28, 2024 @04:35AM (#42529768)
You are confusing too many things.

"10" is the representation of a data; "0xA" is another representation of the same data.

Not being able to touch something doesn't make it an abstraction. Light is not an abstraction, a contract is not an abstraction. 10 is not an abstraction, it is an ordinal [1].

"Isomorphism" is an abstraction. It doesn't name a particular data or value, but a class of functions that share common properties. A function template or functions written in a dynamically typed language can describe a particular group of isomorphism.

[1] https://en.wikipedia.org/wiki/Set-theoretic_definition_of_na...

Re:That's Not an Abstraction, That's Just a Layer of Indirec... by 29athrowaway on Saturday December 28, 2024 @09:57AM (#42531435)
Number notations and the glyphs and conventions used in them are abstractions.

10 in a database record of a warehouse system may be an abstraction for 10 items of a given type in a warehouse.

Re:That's Not an Abstraction, That's Just a Layer of Indirec... by JadeNB on Saturday December 28, 2024 @11:36AM (#42532171)
> Light is not an abstraction, a contract is not an abstraction. 10 is not an abstraction, it is an ordinal [1].

It seems to me that all of those things very much are abstractions. They are not the utmost level of abstraction, but they are abstractions!

(Actually "a contract," which at first I thought was the clearest win, I'm now not sure about. On reflection, it seems like a concretization, turning abstract ideas of trust and reliability into concrete conditions under which the contract has or has not been met.)

Re:That's Not an Abstraction, That's Just a Layer of Indirec... by astrobe_ on Sunday December 29, 2024 @07:37AM (#42539552)
All right, light is an abstraction, contracts are abstractions, 10 is an abstraction, time is an abstraction, and I am an abstraction too.

The notion is so fuzzy that everything can be an abstraction in a certain way. The word "abstraction" is a black hole for thoughts. Stay away from it.

For instance in this threads and in TFA, people made useful distinctions such as "generalization" or "indirection".

Re:That's Not an Abstraction, That's Just a Layer of Indirec... by patrulek on Saturday December 28, 2024 @04:36AM (#42529770)
I kind of agree and i find that is why (other) abstractions should be created around data not around behaviours.
Re:That's Not an Abstraction, That's Just a Layer of Indirec... by weMadeThat on Saturday December 28, 2024 @10:06AM (#42531514)
Ever read any MS Windows code?

The author is relatively clear about good and bad, or rather pointless, abstractions.