Hacker News new | ask | show | jobs
by InterestBazinga 2339 days ago
One thing I'm not a fan of C# is how often library usually lack bundled code source, while other similar language(eg. Java), you can use "Go to to Definition" on pretty much any third-party library/anything without hassle.
2 comments

This is changing (slowly) for .NET. Nuget packages support something called Source Link [1] and can embed URLs to Github/Bitbucket/Etc.

IDEs like Visual Studio and Rider can download the code on demand and debug step-through.

Tons of popular .NET libs (including the Microsoft ones) already support this.

[1] https://docs.microsoft.com/en-us/dotnet/standard/library-gui...

.NET decompilers are really good these days. It's usually easier than finding the source code, and definitely easier than finding documentation that explains how things are supposed to, let alone actually, work.