Thursday, June 2, 2011

The Difficult and Complex Beauty of Code

I have said this before, and I will say it again. If you really want to be a successful app builder you need to learn code. Common misconceptions non-programmers have about code are that it is all zeros and ones and that it is too difficult to ever be conquered by the average person. To clear up the first one, I will explain that while the programming language machines understand is only zeros and ones, most code is not written using zeros and ones. There are several programming languages (Java, C++, etc.) that programmers use. Theses languages are then converted into machine language by specific software. I use C++ Language when writing programs. It is one of the oldest languages, but it's simple and powerful. C++ is more basic than languages like Java, so it may be easier to use Java to make apps. Be sure to do your own research before you decide to focus on one language. But since C++ is a basic code that other programming languages are built off I figured it would be beneficial to understand C++ before learning more complex languages. The software I use to program is excellent. It's is Microsoft Visual C++ 2010 Express. It helps you find mistakes in the code, builds the programs whenever you need, and it's free!
Code is beautiful, in that what you write is what you get. However, the difficulty arises in that humans make mistakes. An error in a piece of code could be as simple as leaving out one semicolon in the entire program or having a colon instead of a semicolon. These errors are often minute and difficult to find. That is why it is very important to take your time while writing programs and check over everything carefully. The Microsoft software I use highlights recently edited code and puts red squiggly lines under things that the software already knows will create an error in your program. This is a HUGE time saver! However, some errors still occur and can be difficult to locate. Personally, I find errors easily using the Microsoft software, but some programmers I have talked to suggest printing out the code and scanning it by hand if it is a particularly long string. For aspiring app builders, programming classes and books are easy to find. There are plenty of online classes that you can take or you can go to a community college. The basics of programming doesn't need to be learned in a high class institute. I took an online course and found it better than most classes I have taken in a classroom. Take a class where there is a teacher to call/email with questions. With the start of a basic programming class, you will be closer to understanding the beauty of code.

2 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. i am successful for this android related blog. so thanks for sharing the information.. I really like it.

    Thanks,
    Android App Development Books

    ReplyDelete