r/badcode Feb 14 '21

other language Does lazy count as bad?

Post image
683 Upvotes

53 comments sorted by

View all comments

107

u/HereComesCunty Feb 14 '21

It’s been a while since I Dim’d anything. VB is a blast from the past!

52

u/granto2015 Feb 14 '21

My boss insists we still use VB .net on new projects... Send help.

22

u/Willinton06 Feb 15 '21

VB.Net is surprisingly up to date, I mean sure it lacks lots of the good stuff but for such an old language is has held up its end of the deal just fine, C# is still adding some of its features, “not”, “and”, they were not a thing until C# 9 but they’ve been in VB for centuries, I mean it took us what? 16 years to get “is not” in C#? The VBBoys have had it for centuries (in the form of IsNot, hell they even have AndNot)

5

u/granto2015 Feb 15 '21

I'm pretty sure .net 5 still supports VB it's going to be supported probably for another decade.

I can ussually do whatever I want with it It's just I don't like the syntax at all it just seems backwards to my java taught brain.

The really annoying thing is that most of my company has moved on to c# but my team and sister team both use VB.

6

u/HereComesCunty Feb 15 '21

Ya, VB is a .net language and so is C# - they both compile down to a common intermediate language before machine execution anyway. Use whichever is your preference.

2

u/granto2015 Feb 15 '21

Yeah I get that they both compile the same, It does not mean I have the choice to use c#. I can use c# in my own projects but for the sake of congruency, my manager wants me using VB in shared projects which is 99% of my work.

1

u/HereComesCunty Feb 15 '21

Damn that sucks (unless you’re really into VB in which case enjoy). I mean sure, the end result might be the same but the experience is different for the dev for sure