Why batch wins
Batch is a scripting programming language introduced back in the time of MS-DOS by Microsoft itself. It started off as something basic and very slowly evolved to be the slightly version it is today. You may have heard of batch simply because it’s the same language as what you enter in the command prompt. For example, when you enter “ping” in command prompt, you can also enter it in a batch file. And as you enter “ECHO hello world” in batch, you can enter it in command prompt (noob note: command prompt is like terminal in Linux or OSX).
I recently posted here about a game I wrote in batch, which is quite good for something only 5kb and ~150 lines of code.
Batch also has the best debugging you will ever had heard of, as you can edit the code WHILE the program is executing. That means if you find a bug, you can create a loop around it and tweak the code until it works and then remove the loop without having to launch the program 10 times.
Batch is not cross-platform at all (or at least it’s very complicated) but it works on all Windows machines that ever existed (except for a few commands that appeared later). If you like, you can very very easily convert batch files to exe so people can’t read your code.
Batch is very easy to use. In fact, I learned it by experimenting. “ECHO My name is George.” is something a baby could write and “SET /p name=Your name is: ” is something a child could write. They’re also very easy to launch: just double-click the .bat file and you’re all set.
Finally, it includes a single command that is in every programmer’s dream: GOTO. GOTO covers every notion of loop you can imagine, and, combined with if, can make a whole program’s structure way simpler. Most newer programming languages dropped it for unknown reasons yet it turns out to be easy to use and very efficient and helpful in batch.
Now I hope you will stop whatever you’re doing and batch or not, and I wish to you a good programming!