开发者

What are some good/reputable/widely-used libraries written in VB.NET? [closed]

开发者 https://www.devze.com 2022-12-24 04:26 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

Question:

What are some good libraries that've been written in VB.NET? The best would be open source, as that would allow interested developers to take a look at some good VB.NET code and see how the language can be used effectively. But I'd be interested to know about any libraries at all, particularly reputable ones.

Long-winded explanation of where I'm coming from:

Generally speaking, when VB.NET and C# are compared, there is a lot of strong support for C#, accompanied by some bashing of VB.NET until a respected developer comes along and acts as The Voice Of Reason, pointing out that while VB prior to VB.NET had its fair share of issues, VB.NET is really a very strong, fully OOP language that i开发者_运维技巧s, feature-wise, right about on par with C# (with the exception of certain things like a full-bodied lamba syntax [pre-VB10] or the yield keyword, as many C# faithfuls are quick to point out).

I myself, having written plenty of code in both VB.NET and C#, fall squarely in the "I prefer C#, but don't consider VB.NET any less of a language" camp. However, one thing I have noticed is that when it comes to respected and/or widely-used libraries for .NET, everyting is written in C#. Or at least that's been my impression. This strikes me as a little strange because, aside from the abovementioned sprinkling of nice features (in particular the yield keyword), I tend to view the VB.NET/C# divide as primarily a matter of personal taste. Obviously, plenty of developers prefer C#. But I personally know some developers (good ones) who prefer VB.NET, which would lead me to suspect that surely some libraries (good ones) would be written in VB.NET.

I'm thinking they must be out there, and I just haven't found them.


I write VB.NET and C# interchangeably (about 50/50) in the apps I manage, and I've always had a slight preference for VB.NET (I've been programming in BASIC-lineage languages for 25 years, since I was 9, but only about 15 years in C-based languages).

That said, I find C# is a better language for libraries.

This has nothing to do with VB.NET's limitations and everything to do with C#'s.

I want my libraries to be easy to call from both VB.NET and C# code. When I write in C#, I tend pay attention to things that matter when calling the code from C#. Two examples of this are C#'s case sensitivity and its lack of optional parameters. But when I write library code in VB.NET, I'm not as tuned-in on issues that could make my API less friendly to C# callers.


Generally speaking, my opinion is that the languages are really the same. It's the convenience of the syntax. Personally, I like that you can have multiple things happening within the same line. Once I switched to using C, Java, JavaScript, Perl, and the curly bracketed languages, I found it easier to understand simply because you could see much more in fewer characters.

As far as good frameworks written in VB.NET, check out anything written for (and including) Dot Net Nuke.


Another good point is that most of the Design Patterns, TDD, DDD, Agile, etc. use Java as examples, which is very much like C#. It's like trying to translate British to English rather than Spanish to English.


BASIC = Beginners All-purpose Symbolic Instruction Code.

Throw a "visual" in there and its still a beginners language ;)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号