Hacker News new | ask | show | jobs
by egwynn 615 days ago
I agree it’s not the prettiest, but I had no trouble clicking on “tree” to get to the folder and then “mod.ts” to see the code.
1 comments

One has still to know that "tree" stands for "source code".
That seems like... a normal thing to know?

Pre-GitHub, one of the most popular web git viewers (cgit) used "tree" in this way. Never found that to be confusing.

(In git, the listing of the files and directories at a particular commit is called a "tree". So it's correct. Just not as intuitive as you, personally, would like.)

Well it doesn't stand for "source code". It's the tree of directories and files.
This is not a sourcehut problem, it is a github problem. "Tree" is semantically correct.
What? Of course it's a Sourcehut problem. They chose to use that word and could choose to use a better one.
Tree has been used for this kind of thing for decades now.
So what? There are still better words for it.