Too much usage of mod.ts
See original GitHub issueI’m glad we’ve got rid of the usage of index.ts everywhere - however I’m not so happy with the excessive usage of “mod.ts” now. For example, in http/mod.ts
:
https://github.com/denoland/deno_std/blob/4283c26b8930ca80e5babca3337b5431f16334d0/http/mod.ts#L1-L7
This is just boilerplate. It would be better to have people link to http/http.ts
instead.
I would like to do another disruptive rename - sorry - in which we remove the mod.ts
usage.
Issue Analytics
- State:
- Created 5 years ago
- Comments:21 (21 by maintainers)
Top Results From Across the Web
Why deps.ts and mod.ts is BAD in Deno - DEV Community
This article talk about why Deno developers should avoid using deps.ts and mod.ts.
Read more >Why is main file called "mod.ts"? : r/typescript - Reddit
I'll answer my own question as much as I can. I found that Deno have a Style guide, that says this: "If a...
Read more >Modulus(%) operator in Typescript not working correctly for ...
What is the reason for this working badly? Tried checking these values in a normal .ts file: console.log(10000000000000000%97); ...
Read more >THIS makes Modding The Sims 4 SO MUCH BETTER!! (TS4 ...
Hey, boo! I'm checking out a program called Sims 4 (TS4) Mod Manager that makes modding The Sims 4 so much easier!⭐ BECOME...
Read more >So Much Weather! || Skyrim SE Mods || Modding Monday 3
Playlist | Skyrim SE Mods | https://www.youtube.com/playlist?list=PLlN8weLk86Xgja20hZAIpa9P-noa-P_-c Patreon | Help Me Continue ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kevinkassimo I’m more or less onboard with your proposal but I want to avoid having source code in the root - so what if we come up with some categories:
I want us to be very thoughtful about our path names - since it’s the public interface. I realize it’s disturbing to continually rename stuff, but it’s important we iterate on this now rather than later.
textproto should keep its name (it’s not a http parser) but I’m generally in agreement.