4 ms·
It depends. Any code that I see written in support of cross cutting concerns that are not specific to specialized needs of the business are a cost I look for ot
by scarface74 9y ago
It depends. Any code that I see written in support of cross cutting concerns that are not specific to specialized needs of the business are a cost I look for others to bare. I'm not going to write my own logging framework, ORM, configuration, scheduler, etc.
Recently I removed three custom written classes - one involving a friendly wrapper around .Net Http client, one to handle writing and reading CSV files and one to handle retry logic. I found better implementations on Nuget and replaced my custom versions.
Why? Because I knew my future self would appreciate not having to maintain them. Of course I had unit tests around the existing functionality first to help keep me from breaking stuff.
Any company has a narrow niche for which it is writing software. Avoid writing anything outside of that niche and use third party software. You are not giving your company any competitive advantage by writing yet another wrapper around database access.
- megaman22 9y agoRestSharp, CsvHelper and Polly?
- scarface74 9y agoWow. You're 3 for 3.