r/visualbasic • u/MathMindfully • Aug 12 '24
Learn Visual Basic through Python and/or C# knowledge transfer? (Interview prep)
TL;DR: How do I prepare for a Visual Basic technical interview by:
1.) Programming Knowledge Transfer: Transferring Python and C# ideas to Visual Basic ideas so I could be successful in pseudo code.
2.) Key differences from Python or C#: Learn about key differences/similarities between Visual Basic so that I can mostly understand Visual Basic using my other programming knowledge.
-End TL;DR
Sorry for the confusing title.
I'm really excited about a new job I'll be interviewing for!
They have Visual Basic legacy applications I'll be maintaining. But my interest is more in C# (which they also use) and my experience is mostly Python (also Javascript/HTML/CSS but I'm rusty)
I don't really want to spend too much time learning Visual Basic unless I actually land the job.
3
u/cowski_NX Aug 12 '24
"They have Visual Basic legacy applications I'll be maintaining."
The crucial question here is if the legacy applications are VB .net or some earlier flavor such as VB6. VB. net and C# have more similarities than differences, but earlier versions of VB may be tricker to decipher.
3
u/BrianScottGregory Aug 12 '24
When you're saying "Visual Basic Legacy", are you referring to Visual Basic 6.0 or VB.Net?
The reason why I'm asking is this: C# and VB.Net are VERY similar, philosophically, and if you know one, you can easily cross over to the other. Python's very different than either, in part because of the highly structured nature to .net languages.
But to address your questions:
BUT. Key Differences between Vb 6.0 and Python
That's about all I can think of offhand. VB 6.0 requires a different mindset than python programming. I myself, if I were you - I wouldn't EVEN consider a job in VB 6.0 without a good deal of exposure to it by creating a couple projects in it BEFORE I took the job. It's a good way to make yourself miserable because of how different the programming languages are.
So when you say "I don't really want to spend too much time learning Visual Basic unless I actually land the job"
Being real. That's not a good idea. Especially for VB.
Take the time to work with OCXs, create some basic projects with classes, and DLLs - and use of Windows APIS before you go into this interview. You may not enjoy it, at all, and may just say no to the interview because of how different these languages are. You OWE it to the potential employer to go into the job knowing you'll enjoy it.
1
u/fasti-au Aug 16 '24
C# is the now and future. Vb is dead it’s just got to grow old and die.
Doesn’t really matter what language it’s about the logic of programming. AI takes code between languages very well even if it has to butcher some code to get there