Tuesday, February 22, 2011

Visual Basic or NetBeans?

When trying to write a simple game it is always best to choose a language that will be quickest, easiest, and look the best at the end result. Using a GUI IDE (graphical user interface) (integrated development environment) can make the process all three. I personally feel that it would be easiest to use a tool like Visual Basic to create a simple game. Visual Basic is easy for new programmers to learn, and it can be used for both simple GUI apps and complex apps. Visual Basic can create simple programs and the programmer doesn't have to write barely any lines of code. Visual Basic can create a number of files including DLL files and EXE (executable) files. Using a GUI IDE like NetBeans with BlueJ is also a good way to create a simple game. Netbeans with BlueJ is also very easy for beginner programmers because it uses the Java programming language.  One problem that I have noticed about NetBeans with BlueJ is that the program is very complex. Not necessarily the writing of the GUI, but the program itself. All the different tabs and features can be a overwhelming to a programmer that is still in training. Most GUI IDE's write in Java because it is so much easier. And for something like a simple game it is really convenient to write in english and have it broken down to machine language rather than writing in more high level languages. NetBeans with BlueJ is so convienent because it has drag and drop ability and can make writing a program as easy as dragging and dropping a few files. Even with the drag and drop capabilities, I still would prefer writing with Visual Basic. Visual Basic does have it's flaws though. The biggest flaw being that the development environment for Visual Basic is no longer supported on Windows. So if you are running an operating system that is older than Windows NT, Visual Basic isn't going to work. The only Visual Basic development environment that is still supported by Windows is Visual Basic 6 core runtime environment, and it is only available on Windows 7. So if you haven't yet upgraded to Windows 7 you should consider using NetBeans with BlueJ. One of the features that I really like about NetBeans with BlueJ is that you can see the different lines of code being entered in a drop down menu style. Combined with the drag and drop capabilities, this makes writing a simple program a synch. Especially if you need to make any changes to the code line up or any of the components. So if I was forced to choose between NetBeans with BlueJ and Visual basic, I would have to choose both. Both programs seem to make writing a program easy, fast, and convenient. Both programs have their flaws, like Visual Basic no longer being Windows compatible, and Netbeans' complexity, but in the end they both do an amazing job at building a GUI that looks and runs great.