5 ms·
I like the Stripe API design, and as a follow-on, I tend to like their coding styles and structures. Here's their official Stripe dotnet library - https://githu
by dajo 4y ago
I like the Stripe API design, and as a follow-on, I tend to like their coding styles and structures. Here's their official Stripe dotnet library - https://github.com/stripe/stripe-dotnet https://github.com/stripe/stripe-dotnet. It's well organized and the code coverage looks good.
- Hawxy 4y agoI'd argue this library design is fairly ancient in C# land. The reliance on static configuration values goes against modern DI-centric design + integration patterns. It also doesn't have a central entry-point for discoverability and instead expects each internal client to be used directly.
- smithcoin 4y agoThis applies to their libraries in other languages as well, their Ruby one is a great reference too.
- automatic6131 4y agoDoes this, errr, do anything? If it's just a C# adapter for a web api, then it's extremely dull infrastructure code. All you get is code style opinions and folder choices.
- DoctorOW 4y agoCode style opinions and folder choices is vaguely what OP is asking for though, right?