News for hackers. Stuff that matters.
Re:Data-oriented design or why you might shoot yourself in t... by dexwiz on Monday June 28, 2021 @11:17AM (#27663019)
Humans have a natural tendency to refine a single idea by splitting it into two based on a differentiating factor. This ends up looking like a tree when applied repeatedly. Dichotomous keys for species identification are another example of this.
Re:Data-oriented design or why you might shoot yourself in t... by eska on Monday June 28, 2021 @01:24PM (#27664693)
The problem being that they don't categorize things into one tree, but many. One can view the same thing in different ways. OOP tree hierarchies do not allow that.

It's like trying to categorize your photos in a directory tree. Do you categorize by year first, by person, or location? There is no correct answer. What people want instead is a photo album with tags. The same problem applies to OOP.

Re:Data-oriented design or why you might shoot yourself in t... by Zababa on Monday June 28, 2021 @06:05PM (#27668836)
> It's like trying to categorize your photos in a directory tree

A problem that made me think about tags instead of categories was precisely that: I have photos that I want to organize. I started by organizing them by person with a folder for each person. But how do I handle a photo where multiple people are in it? Tags don't have this problem. Unfortunately file systems don't support tags.

Re:Data-oriented design or why you might shoot yourself in t... by setr on Monday June 28, 2021 @02:08PM (#27665377)
> What people want instead is a photo album with tags

What you really want is hierarchal tags :)

Re:Data-oriented design or why you might shoot yourself in t... by splistud on Monday June 28, 2021 @04:04PM (#27667158)
No, no. We want tags. Later we want hierarchal tags (with some complex workarounds to maintain some legacy thing included in the implementation).
Re:Data-oriented design or why you might shoot yourself in t... by btschaegg on Tuesday June 29, 2021 @02:00AM (#27672334)

  Silly monkeys
  Give them thumbs, they forge a blade
  And where there's one they're bound to divide it
  Right in two
SCNR :)

For everyone that doesn't know the text: I recommend listening to Tool's "Right in two". Although the text originally talks about war and strive, not programming. ;)