How fast is Visual Basic compared to PowerShell and what do you think I should use?

I need some advice on learning a new programming language.    I have background in computer graphics so I am a visual type of person.  I want to create a program that will help my wife back up her files to the external hard disks and learn how to code other programs.  Soon I am going to go over some online videos about programming terminology so I can learn different terms and what they mean.

Next:
I have written some short scripts in PowerShell and I like it a lot because it is very fast, but I also recently downloaded Visual Studio 2017 and am thinking about using Visual Basic instead because I think it would be easier for me to learn.

How fast is Visual Basic compared to PowerShell and what do you think I should use?
LVL 2
RyanHelp DeskAsked:
Who is Participating?
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
Powershell is a scripting language, which means it's not really a "user interface" soft of platform. You create scripts and run them, either within powershell, commandline, batch file, etc. It's a language intended to be used to automate processes, perform maintenance tasks, etc.

If you want something that a user would open and use, then .NET would be the platform you'd use. The .NET platform allows you to create web, desktop, and mobile applications by using a development environment like Visual Studio. If you wanted to create a website, for example, you'd use Visual Studio.

FWIW, I came from an Access background and moved into .NET. I learned VB.NET because it was the most familiar I wish now that I had gone on to C# instead. I'm slowly learning C# now, but I'd have been much ahead of the game had I started with that from the beginning.

I agree entirely with Dirk regarding not reinventing the wheel. Creators of backup solutions spend countless hours (and money) to create robust and reliable solutions. It would be an exercise in futility to try to reproduce that.
0
 
Dirk StraussSenior Full Stack DeveloperCommented:
Hi Ryan. Here are my thoughts:

Backup of files
I am a firm believer that one shouldn't re-invent the wheel. There are many backup solutions/tools to choose from. I have used Cloudberry backup for a while now, and it is a good tool with a nice UI. Then also have a look at Carbonite that also seems like a good tool to use. I have heard it featured on shows like Leo Laporte's Twit podcast (allthough this is probably paid advertising). It all depends on how valuable your files are to you/your wife and how much you will lose when a drive fails (note, I didn't say if a drive fails).

Learning to program
As for learning to program by watching online tutorials, that's awesome. There are many places that you can use for online training. One of the best (which I personally use) is Pluralsight. Don't throw away free sites such as Microsoft Virtual Academy and Channel 9.

Learning PowerShell is really rewarding, and Pluralsight have a few courses on that. In my opinion, I would see learning PowerShell as an addition to learning something like C# or Visual Basic. In other words, learn both.

Visual Basic is a nice language to learn because it "reads" easier. I started with Visual Basic many moons ago, but went on to writing C# which I now exclusively use as my main language of choice. Learning a new language is easy if you find the right tool for learning. For some folks, it is using books. For others, online videos work better. At the end of the day, the only way you really learn is by doing. Use online resources such as Experts Exchange and StackOverflow to find answers to your questions. Just be aware.... in my personal experience, Experts Exchange is a much friendlier and community focused platform than StackOverflow. I have seen some "newbies" get called out on StackOverflow too many times by seasoned developers.
1
 
Éric MoreauSenior .Net ConsultantCommented:
they are just 2 very different beasts!

Powershell is mostly used by system admins to create batch job that runs very often without a UI (often from a scheduler).

Visual Basic is more versatile. Would let you build web sites, WPF apps, Windows apps, mobile apps, ... But if you want to learn, i would go with C# instead of VB.
0
All Courses

From novice to tech pro — start learning today.