r/dotnet • • May 30 '22

Microsoft, please open-source Web Forms πŸš«β¬‡οΈπŸšŒ

Microsoft, please open-source Web Forms if you don't wish to improve/modernize it. Don't do what you did to VB-Classic shops: throw them under the bus, having all that code already written. (In theory there were code converters for classic-to-net, but they were clunky and not practical.)

Web Forms is often better for small-team internal CRUD projects than MVC. But many shops are reluctant to use it because MS has implied multiple times it's deprecated, scaring them away from use. If it goes open-source, then fears of a VB-Classic-under-bus repeat will diminish.

It hurts your tool reputation to under-bus a shop's tools, and thus hurts your profits πŸ’°. In the longer run it's in your best interest. Google already ruined their dev cred by busing so many tools.

Thank You

Related discussion.

Granted, open-sourcing the IDE may be tricky, but hook API's can be devised so Eclipse etc. can easily hook in.

0 Upvotes

95 comments sorted by

View all comments

Show parent comment

-11

u/Zardotab May 30 '22 edited May 31 '22

VB is simply just out-of-date language now

So is C# now. Show me something in VB that is un-fixable; that is can't be updated as a language version upgrade. Bring it on! (🀠 cue Good-Bad-Ugly theme.)

[Corrected]

11

u/[deleted] May 30 '22

How is C# an out of date language now?

6

u/alternatex0 May 30 '22

If anything C# is getting so many additions and improvements I know very few devs that are even familiar with its features beyond version 6. OP is living in another dimension.

-1

u/Zardotab May 31 '22 edited Jun 01 '22

For one, it's shitty at handling nulls and nullable types. There's no date-only type (without time). "Static" is borrowed from C++ but is obsolete. There are better ways to get comparable features. And you can't roll your own control structures. And VB had a better set-based CASE statement. And it's too tied to hierarchical file systems; the future will be code in RDBMS, mark my word. And sorry, but Razor is an awkward sub-language.

[updated]

2

u/Medozg May 31 '22

C# has nulable reference types

C# has date only

If by CASE you mean SWITCH than C# has switch statements and you can do pretty much anything with it

0

u/Zardotab May 31 '22 edited Jun 01 '22

C# has nulable reference types

It's how C# handles nulls that are the issue.

C# has date only

Is that new? I may have missed it in the upgrade list.

C# has switch statements and you can do pretty much anything with it

I'm not saying it's not flexible, I'm just saying it's awkward syntax for typical usage. Requiring "break" is silly.

Actually I think C# recently added a construct that almost does it right. (We are stuck with an older version at my shop for backward compatibility with components.)

[updated]

1

u/[deleted] May 31 '22

Nullable reference types have existed since C# 8. In .NET 6 you can explicitly disallow maybe-nullable unless the method signature explicitly declares the possibility of null. You should spend more time writing modern .NET and less time writing webforms.

0

u/Zardotab May 31 '22

Those don't have to be mutually exclusive; false dichotomy. Spend more time reading logic books.

3

u/Playos May 30 '22

I'm not sure where you're drawing the line on VB-Classic... but if it's VB5 then there is a whole lot under the hood that simply isn't economically fixable because of a lot of choices made historically.

Could they be updated and made into a new version of the language? Sure, they were. It was VB6.

Honestly the cling to pre-dotnet VB I think is more of what killed VB than anything else. I started programing on VB3 and loved it, it created my passion as a coder (even if that largely has been hobbyist and very niche professional applications)... but when making the leap to dotnet EVERY example I could find was C# because so much of the old school VB coding community clung to 5 even through it at launch they were functionally the same language.

-1

u/Zardotab May 30 '22 edited May 30 '22

History lesson here. VB 1 thru 6 were mostly backward compatible: Version N code ran fine in version N + 1, or at least with minor modifications. However, VB.Net was an almost complete overhaul. VB 6 code could not compile in VB.NET at all. MS offered a code conversion tool, but it never worked well, and made for ugly code. VB-Classic shops were pissed because rewriting all their VB-Classic code to VB.NET was slow and expensive, or just not feasible. Multiple businesses even signed a petition to MS for continued tool support.

So when I talk about "VB Classic", I generally mean the VB 1 thru 6 versions.

1

u/fori920 May 31 '22

Confirmed: you are a past specimen which thinks trains aren’t even a reality.

C# outdated? Yeah, keep repeating that yourself. No one will believe you.

0

u/Zardotab Jun 01 '22 edited Jun 01 '22

No one will believe you.

Reality ain't popular, I know that already. If you want to be popular, stroke egos and tell techies etc. they are the very smartest and using the best language ever, believe me!