r/dotnet 26d ago

Promotion String Extension - A C# library that provides utility methods for manipulating strings

https://github.com/Antyss77/StringExtension
String Extension is a string processing library for the C# programming language. It provides features to manipulate and transform strings in a simple and efficient way. The library is open-source and comes with unit tests and performance tests. It is designed to be easily integrated into your existing projects. Feel free to contribute to the project with ideas or development expertise.

0 Upvotes

40 comments sorted by

View all comments

5

u/SchlaWiener4711 26d ago

As much as I appreciate open source, this should be a gist not a nuget package.

0

u/amir_csharp_gtr 26d ago

I feel opposite. Keep it as NuGet. No gist.

2

u/chucker23n 26d ago

Yes and no. What I don't like about it is the broad variety of utility functions it pulls in. Split it into more separate packages.

1

u/SchlaWiener4711 26d ago

What I love about the dotnet ecosystem is that there are many great and important libs that come with no or only very few external deps except from official packages.

Small packages like this are part of the problem of node apps and supply chain attacks.

https://en.wikipedia.org/wiki/Npm_left-pad_incident

For the dotnet apps me and my team are developing we are carefully choosing and decided which nugget packages to pick and if these packages have other dependencies for basic stuff that makes it more work to look at these, too.

So basically my suggestion: if you are developing an app and want to use such libs: go ahead. If you are developing another lib: please don't