-
I used Node.js for several years. and used 'dashes (hyphens)' for the filenames. I started learning Deno yesterday. Then I found the style guide.
Why Deno prefers underscores to dash? I want to know the reason, background story. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
That is the contributing style guide. Deno itself doesn't prefer any file names |
Beta Was this translation helpful? Give feedback.
-
I don't think it really matters, so long as its self-consistent and enforced by a tool. PS - They have names |
Beta Was this translation helpful? Give feedback.
-
JavaScript identifiers don't support dashes... only underscores. |
Beta Was this translation helpful? Give feedback.
That is the contributing style guide. Deno itself doesn't prefer any file names