Replies: 7 comments 9 replies
-
I was also in the middle of writing a response when it was locked. So I am just going to put an abridged modified version of it here:
As for your comparison compared to F#, I anecdotally have always felt that VB was actually bigger than F#. Most .NET devs in my experience are not even aware F# exists. But they have likely heard of some form of VB before. |
Beta Was this translation helpful? Give feedback.
-
VB.NET has the same level of support on the compiler level as C# and F#. As of templates and code generators, somebody needs to create maintain those, which is currently out of team's limited capacity and there is no paid support customer who needs those. We'd be happy to merge community-provided templates the moment we can be sure that those would continue to be supported by community (historically we've had more trouble with having to support stuff for ages than with initially implementing/merging it). So, the way to get VB support is to follow the F# route of having community-backed repos for VB-related stuff first. |
Beta Was this translation helpful? Give feedback.
-
Avalonia is very usable with VB already. Here is a sample game with AvaloniaUI even includes WASM app with zero c# code https://github.com/CoolCoderSuper/SpaceInvaders. Does someone know where the c# source generator is for reference? |
Beta Was this translation helpful? Give feedback.
-
To be clear, I have no problem in when/if/how Avalonia UI supports VB. I feel that the answer of pointing to templates elsewhere is a perfectly acceptable answer and if it would have been left at that... I don't think there would be any issues to discuss. My problem is that it seems totally acceptable to simply tell people that their choice is wrong and that they should abandon that choice because they think so and then try to validate such a response with questionable (at best) evidence. What is clear here is that Avalonia UI has no knowledge of the VB community and zero interest in gaining any insight as such. And that's perfectly OK. What is not OK though is what amounts to insulting behavior toward what is literally a first-class language within the .NET ecosystem. That is not acceptable and, worse still, team members don't seem to understand that they might have cross a bit of a line - their actions, to them, are totally justifiable given the "evidence" at hand. |
Beta Was this translation helpful? Give feedback.
-
Feel free to take a look at some VB templates for Avalonia UI that are available (as source) over at https://github.com/CommunityVB/Templates/tree/main/src/avalonia Will eventually make these available as a nuget package; but they are available now in source and certainly could use some testing/feedback. |
Beta Was this translation helpful? Give feedback.
-
I have tested VB template for AvaloniaUI. It has some issue (duplicated .sln file) but it worked. If source generator function for AvaloniaUI VB, AvaloniaUI will make it possible to bring the vb experience of WPF to cross platform development with AvaloniaUI. One more thing: VB is still heavily used in LOB applications. For this reason, it might be a mistake to assume that there are fewer VB users based on Stackoverflow. According to TIBO's language rankings, VB still ranks high, despite Microsoft's discrimination against VBers. (It is a political issue, not a technical issue) As time goes on, even line-of-business applications require cross-platform development. I created a simple AvaloniaUI sample project in C# and VB, and the Shared View/ViewModel project is a .NET Class library type; AvaloniaUI may be a good choice to develop cross platform apps that display data on the screen (which is what LOB applications are) rather than apps that use native resources. (Especially mobile first apps - the lack of navigation framework and so on) If VB is better supported in Avalonia, I think a lot of potential old VBers would support AvaloniaUI project, and I'd like to help out a bit. Best regards. |
Beta Was this translation helpful? Give feedback.
-
It is the power of avalonia developers to support vb.net or not, but I would like to say that although Microsoft has voluntarily abandoned vb.net, and even threatened not to support VB.NET in favor of C# and F#, in fact there are still a large number of developers in the vb language after all these years. Just because you don't speak doesn't mean you don't. I think this was a mistake on the part of Microsoft. C# and F# didn't live up to Microsoft's expectations, and if there was more support for VB then I think the contribution would have been better than C#. |
Beta Was this translation helpful? Give feedback.
-
I noticed that #10387 (VB.NET support) was locked. I understand that the discussion was basically stuck, but I think the locking feature was a bit abused.
What actually concerns me is that the 2023 Stack Overflow Developer Survey was misinterpreted here. Visual Basic (.Net) and F# are preferred by 4.07% and 0.97% of the developers, respectively, so VB.NET is about 4 times more popular than F#.
@MikeCodesDotNET I understand your work is challenging due to very limited resources, but missing this kind of information can be harmful to Avalonia's growth. Thus, I think it would be a strategic mistake not to support VB.NET unless you have other statistics that motivate this decision. I hope you can learn from this and keep up the great work to take Avalonia further!
@DualBrain I agree that VB.NET should be supported. I know it may not be easy to understand, but Avalonia is growing very fast and it's not easy for Mike (nor would it be for anyone else) to handle it. Thus, we should try to be a bit more understanding. Finally, this is just my opinion, but please try to keep your answers short because they are a bit overwhelming to read and probably contributed to the locking of the original discussion.
Beta Was this translation helpful? Give feedback.
All reactions