4 ms·
I have seen plenty of C# projects with these same problems.
by odonnellryan 6y ago
I have seen plenty of C# projects with these same problems.
- ratww 6y agoI've seen plenty and worked on plenty too, but IME a lot of those issues were at the boundaries of the type system: Abuse of untyped ViewBags to pass data to views, using ViewBags to pass things to Helpers, badly configured AOP or XML-based dependency injection, people using Dictionaries/dynamic/JSON instead of objects for passing data between application layers... As soon as you have escape hatches you get those things that make refactoring a nightmare in large projects and cause new employees to always fail to grasp the full-picture because of how fragile projects were. In the frontend I feel the same about Vuex. It's a great library, way more ergonomic than Redux and the defaults are great, but the fact that actions and getters are untyped by default in Typescript is a major source of bugs in projects I work on, even in codebases with 100% coverage.