Amy Blankenship
1 min readMar 16, 2020

--

That’s just poorly-written JavaScript (and most of it is, just like in every language out there). Of course there are also hidden connections in C#. I haven’t worked in it in several years, but one example I can think of right now is the connection string in ASP.Net MVC4 (IDK if they’ve improved that at all). I tried to trace that sucker down and see how I could use it more dynamically without using the XML configuration, and I couldn’t find it in the time I had available to do it — and it wasn’t documented.

The bad thing is ES6 is encouraging a move away from dependency injection (where there’s pretty much the one entry point for things to come in) to grabbing references from wherever. Typescript doesn’t do anything to reverse this.

--

--

Amy Blankenship
Amy Blankenship

Written by Amy Blankenship

Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.

No responses yet