toCheck.StartsWith(prefix)
https://github.com/golang/go/issues/16721#issuecomment-24015...
...and I haven't felt this kind of pinch when using C#, ever. But what do I know? I'm just a .NET wage-slave pleb who's too mentally handicapped to see Go's glory.
Don't pretend that there aren't things in C# that are better in Go.
And I agree, the min/max thing is stupid. I never said Go was perfect.
I like generics and the things that come with it, like LINQ and manipulating abstract collections in a type-safe manner, thank you very much :)
https://github.com/golang/go/issues/16721#issuecomment-24015...
...and I haven't felt this kind of pinch when using C#, ever. But what do I know? I'm just a .NET wage-slave pleb who's too mentally handicapped to see Go's glory.