Sometimes when I’m alone in my room I write software... it’s for fun. I’m a father but I’m not like all up in your face about it. | 🤘 Metal 🤘| Pro-Am Chef
Location
Denver, CO
Education
Not really
Work
Full-Stack Developer / DevOps Strategist at Envision Radiology
Sometimes when I’m alone in my room I write software... it’s for fun. I’m a father but I’m not like all up in your face about it. | 🤘 Metal 🤘| Pro-Am Chef
Location
Denver, CO
Education
Not really
Work
Full-Stack Developer / DevOps Strategist at Envision Radiology
With JavaScript you can use the fetch api but it sucks and almost no one does so you ‘npm install’ axios and then add an import statement. JavaScript doesn’t have good date time handling so you ‘npm install’ date-fns.
Would you like to see how many import statements I have on my current JavaScript project?
Sometimes when I’m alone in my room I write software... it’s for fun. I’m a father but I’m not like all up in your face about it. | 🤘 Metal 🤘| Pro-Am Chef
Location
Denver, CO
Education
Not really
Work
Full-Stack Developer / DevOps Strategist at Envision Radiology
Sometimes when I’m alone in my room I write software... it’s for fun. I’m a father but I’m not like all up in your face about it. | 🤘 Metal 🤘| Pro-Am Chef
Location
Denver, CO
Education
Not really
Work
Full-Stack Developer / DevOps Strategist at Envision Radiology
Yep. I use rider too. Or you can use Resharper. And I don’t know if it’s still around but there issues to be Visual Studio Power Tools that added usings.
Sometimes when I’m alone in my room I write software... it’s for fun. I’m a father but I’m not like all up in your face about it. | 🤘 Metal 🤘| Pro-Am Chef
Location
Denver, CO
Education
Not really
Work
Full-Stack Developer / DevOps Strategist at Envision Radiology
20 using statements vs 20,000 node_module files? 🤔
With JavaScript you can use the fetch api but it sucks and almost no one does so you ‘npm install’ axios and then add an import statement. JavaScript doesn’t have good date time handling so you ‘npm install’ date-fns.
Would you like to see how many import statements I have on my current JavaScript project?
There are several files with 30+ imports but the average is about 12 per file.
Now with Blazor all of your front-end usings can be put into one file and you can maintain them there.
Ah yes, but I don't need to know WHICH 20,000 mode_module files :)
I can't remember the last time I had to manually add a using statement with Rider, or really with most any modern IDE. They just add them for me.
Yep. I use rider too. Or you can use Resharper. And I don’t know if it’s still around but there issues to be Visual Studio Power Tools that added usings.
And I don’t need to know what usings I have. If you place your cursor over the red squiggly then hit CTRL+ . It will add them for you. 😂