3 ms·
Its only in the conclusion, though.
by kroolik 3y ago
Its only in the conclusion, though.
- adrianmonk 3y ago"Fake" is literally the first word of the title. If a fake version of something had all of the qualities of the real thing, then it wouldn't be fake. It would be real. Also, it's mentioned at least three other times in the article before the conclusion. Just one example: "Do your items actually have to have a parent-child relationship, or do they just need to look like they do?" That's pretty clear.
- kroolik 3y agoThe article describes fake trees thus Fake in the title, yes. The article also asks the question you quote, true. But it also goes on with multiple examples that support their approach whilst neglecting storing data as real tree ("That sounds like a lot of work and potentially awkward-to-work-with data structure, especially if stored in a database" and "one way to get tree-structured data from a relational database with a SQL query is to write a recursive CTE (Common Table Expressions), which are just as fun as they sound"). You don't prove your point by using the most extremely examples of the "bad" approach. The article is very vocal about shortcomings of storing trees as trees, but quiet about possible issues with the approach used. It looks more like a emotional rant rather than an informative piece.
- coldtea 3y ago>But it also goes on with multiple examples that support their approach whilst neglecting storing data as real tree That's the whole purpose of the article. To neglect storing data as a real tree, hence the fake in the title. It couldn't be more clear about it. >It looks more like a emotional rant rather than an informative piece. It gives descriptions and examples of several techniques, which will do fine for many simple use cases. Which is exactly what it promises. This reaction seems more like an emotional rant rather than TFA.