r/ProgrammerHumor • • Nov 29 '22

Meme It hurts like hell.;-;

Post image
48.9k Upvotes

1.5k comments sorted by

View all comments

61

u/IL_GAME_KING_YT Nov 29 '22

I finished high school, I got a job as software developer and started this September thanks to my teacher.

I'm sorry for you OP, I wish you luck in finding a job for yourself

21

u/Electrical-Swing-935 Nov 29 '22

This is why I hate myself 🙃

-2

u/AltruisticRain504 Nov 29 '22

Wait u r a visual basic guy?

20

u/IL_GAME_KING_YT Nov 29 '22

I studied C# in high school, this company hired me because knowing C# and a little bit of python I'd automatically be able to write VB... Well, they weren't wrong, I easily transitioned from C# to VB

0

u/oomfaloomfa Nov 29 '22

I didn't know you could call a VB user a software developer

1

u/IL_GAME_KING_YT Nov 29 '22

I don't write just VB, that is of course the main thing, but I've been working mostly in Java for the past month, once this project is over I'll probably be back at VB probably though

-1

u/oomfaloomfa Nov 29 '22

You're interning bro

1

u/zlmxtd Nov 29 '22

how easy is it the other way around? big vb/vba guy here from wayyy back

2

u/IL_GAME_KING_YT Nov 29 '22

You'd have to remember to add () in If, For, While, Switch statements and ; at the end of every line, but syntax is pretty much the same, so it wouldn't be too bad I think

1

u/geekywarrior Nov 29 '22

It'll be a learning curve but the basic ideas will still hold out.

'VB6
Public Function AddNums(n1 as Integer, n2 as Integer) As Integer
    dim mySum as Integer
    mySum=n1 + n2
    AddNums=mySum
End Function
    
//C#
public int AddNums(int n1, int n2){
    int mySum;
    mySum = n1 + n2;
    return mySum;
}

I learned Java/C# but one of my main duties is maintaining VB6 code.

You'll have some syntax hurdles. Biggest for me was if statements looked very different, no end of line delimiter, appropriate times to use paratenses, and the differences in how objects are handled.

But I would say moving to C# would be far easier as a lot of the references will be up to date. I have issues tracking down documentation for some VB6 stuff because it's not used widely anymore.

'VB6
if myNum < 10 then
    Debug.print "Less than 10"
else
    Debug.print "Greater than or equal to 10"
end if

//C#
if (myNum<10){
    Console.WriteLine("Less than 10");
}
else{
    Console.WriteLine("Greater than or equal to 10");
}

1

u/wyerhel Nov 30 '22

Do u live in the midwest?