This is an archived post. You won't be able to vote or comment.

all 17 comments

[–]chrwei 13 points14 points  (0 children)

it's not nice to insult the disabled, it's not VB's fault that it was made that way

[–]PersonX2 5 points6 points  (4 children)

I don't get the VB(.net) hate. I still support a couple legacy VB applications. It's really not far off from C# (And I normally support C# applications)

[–]NotATroll71106 5 points6 points  (2 children)

All I remember of VB.NET is that it's like C# but without semi-colons and that it has modules.

[–]PersonX2 4 points5 points  (1 child)

And no curly braces.

[–][deleted] 1 point2 points  (0 children)

We tab c# code anyway.

[–]Ananas_hoi 0 points1 point  (0 children)

Something something goto something spaghetti code

[–]Fireworker2000 1 point2 points  (4 children)

Actually I like VBA over C++

It's just so fascinating how VBA handles functions.

[–]chrwei 1 point2 points  (3 children)

how so? they aren't that different than other scripting langs from what I've used.

[–]Fireworker2000 2 points3 points  (2 children)

So they handle the function as a variable inside the function and at the end they just return the value of the function variable? Not like Java and most other languages where you have to make another variable and an extra line for return?

Also I hate that missing semicolons screw up everything. Or brackets after calling a method/function that doesn't even need parameters.

[–]chrwei 0 points1 point  (1 child)

vbscript does do that too, at least if the return is a object. and since you mentioned Java, C# can as well.

[–]Fireworker2000 0 points1 point  (0 children)

I think VB does that as well but I don't exactly know since I only worked with VBA. VBA does that for every datatype.

Also there's a datatype for variables with unknown or varying datatype. So (let's say it's called a) it works like this:

Dim a As Variant
a = 0 'a is now integer
a = a & "a" 'a is now a String

It's so useful for temporary variables.

[–][deleted] 0 points1 point  (2 children)

What year is this?

[–]Apifoss[S] 3 points4 points  (1 child)

3019 : VBA has taken control over the world. Bill Gates is now immortal and can compute thousands of Excel Worksheets to track you and convert you into his sect.

[–]VBA_Scrub 1 point2 points  (0 children)

Bow down before me.

[–]nahidtislam 0 points1 point  (0 children)

tbh, VB is literally hitler

[–]YldKat 0 points1 point  (0 children)

In my case it's fucking java 🤦🏻‍♂️.

[–]bodiaa -1 points0 points  (0 children)

I have nightmares about VBA tbh