News for hackers. Stuff that matters.
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).