Learn Programming


How To Start with Programming!

Introduction: Programming is a very useful and rewarding hobby for present life. When someone sees you using a program programmed together to make your life easier and says that it really looks useful then there are some better feelings than that. Most people, at some point in their life, really wanted to be able to do something on their computer or phone and were unable to do. If you know a programming language, then it is often a fair chance that you can write a program to fulfill yourself for that task. Although there are a large number of programming languages, many of them have similarities; This means that once you learn a good language, in most cases you can pick up a new one faster.


Limitations: One thing is that it takes time for all new programmers to learn terminal language. Although, when you become an expert, you will be able to write many programs quickly, you should remember that many programs have taken whole team of expert developers years to create them. It is therefore important to understand that knowing programming language or even knowing a lot is not enough to write some of the complex programs you have seen. Do not look at this new hobby as a way to save yourself a lot of money, as you will be excluded from your reach to write your version of most programs till now. The most important thing is that a new programmer needs to know that "Learning Programming in 24 Hours" is not just true as books. Another accurate title will be "Learning Programming in 10,000 Hours". If you put 24 hours or a week to learn a language, then you will not create the next Windows or a new, art sporting situation. It is possible to learn to write a program in 10 minutes, and in reality you need to learn a new language, this is your favorite search engine, but you will not be an expert. The only way to become an expert is as similar as learning violin; The answer is practice,practice and some more practice.


Selecting your first language: Now we have examined the boundaries and have handled some unrealistic expectations, whichever of you still want to learn the code, it will be happy to know that starting learning programming is not difficult and you need to pay a large amount Will not be of money. If you are reading this article online, then you already have resources started with some languages, so let's consider what your first language should be.
Traditionally, first language programming newcomer learns either Visual Basic or Python. As, the first thing to understand is that these two languages are very different. The simplest difference is one of the price. Python is completely free; You can start writing Python on your computer with only one text editor, even if you're on Windows, you probably have to install it first. Although Visual Basic, often for VB in a nutshell, both are free and not free. At the top, VBs can be easy to learn for newcomers because it allows you to create interfaces (part of the user-watched program) by dragging and dropping different parts, such as designing some basic art applications.
The version of VB newcomers usually learns Visual Basic 6, but it is outdated and it has been discontinued. So these days the learned version is often VB.NET which can be much less simple for newcomers.
VBNET should be developed which we call an IDE (integrated
development environment); It's basically a special program that you use to write other programs. They are also present for python, but their use is completely optional. The free VB.Net IDE is termed as Visual Studio Express. Unfortunately, the free version of the IDE is restricted with what you can do, and any programs you create can not be sold commercially. Sadly, the full payment version of IDE is not cheap, and probably is not suitable for amateur, but luckily the free version is enough to learn VB. In practice, many commercial programs have been developed in VB these days, but the Visual Studio IDE allows you to use many other languages. The familiarity you develop by using it will allow you to use the power of the IDE for development in many other languages. Some people will argue that almost every language can be developed in a text editor and it is the most flexible way to code. Although it is technically true (and I suggest that once you get a little better then trying to develop in the text editor to compare), I firmly learn my first language with the appropriate IDE and I would advise it too.
Traditionally, people first learn Python or VB and what is usually taught in schools, I will not suggest any of these. I believe that your first language should be useful to you, which has worked with the purpose of helping you to learn the basic principles of programming. If I have to recommend them to newcomers, then this will be VBNET because the most complex part of programming is the graphical side of things, and due to the drag and drop interface in VB.Net it is very easy. These two languages ​​are often used as introductions because they are tolerant of mistakes, and allow you to gain confidence in programming principles without worrying about more complex matters.


For those brave souls among you, I would really suggest Java as my first
language, even if it is complex, and therefore is not a common choice for the first language. Most of the Java programs are different for others that they do not run on your computer. The user downloads Java, then your code is called VM (Virtual Machine). This means that your code runs in a particular place, Java sets it up for you. This means that Java programs are "cross-platform", which means that they will be for most part on Windows, Mac, Linux and most other operating systems.
Java is a good language for learning, because it is very comprehensive and useful. Apart from this, it is very powerful, and available for free both for amateur and commercial use. However, unlike VB and Python, it does not tolerate mistakes and you need to be very specific about everything. It's also an object-oriented programming language, which is a very complex problem, which I will try to summarize. Languages ​​such as Python and VB are known as procedural languages, which means that the lines of code move one after the other, while Java is an object oriented language. In object-oriented development programming world many things are thrown these days, and if not always appropriate, it is generally considered a good idea. At the most basic level, the object-oriented program is about objects. An object is "immediate" of "class". A square is a blueprint that is used to describe something like a cat. The class includes both the cat, its name, the age and the owner, along with the data about "methods" which can essentially act like Miao. An example of a class "cat" will give you a special cat. However, this is not a Java tutorial, so if you are brave enough to experiment with Java you will see it in more detail in itself. It is worth noting that both VB.Net and Python support for object oriented development, and Java has the ability to use procedically, but these languages ​​are not used for primary purposes and are not often used . If you have not understood that comparison, do not worry about it. Object Orientation It is difficult to get around your head, but in any original Java or other object-oriented language tutorial, you will understand everything in that paragraph.
The last reason that Java is a good first language is that it is similar to
Javascript in many ways, which is a completely different category of
languages. Javascript is a scripting language (as is Python), and learning Java means that you understand Javascript properly enough. Inter scripting languages ​​and general programming languages ​​are out of the scope of this article, But a large generalization script is usually used for automated tasks, whereas programs are used interactively by users. This is not entirely true, since both types of languages ​​are used for both functions and most web programs are built in JavaScript.
For the actual language you choose, it is completely up to you. Some
traditional starting languages ​​can be selected or brave and can be used with java. Some of you may already get your eyes on one language or imagination from more specialized languages ​​like language or province. Regardless of your choice, the way you will learn how to do the program.

IDE, yes or no? Many netrologists say that IDE is a bad idea, and packs with unnecessary tools and men who take time to disk space and to learn. Although this is true, I think an IDE is definitely worthwhile. Many people offer free IDEs such as Eclipse and Netbeans for more popular languages. There is also a Visual Studio, which I mentioned earlier; It is very intuitive, very powerful and supports many languages ​​(as much as Netbeans and receives). If you have chosen to use Java then I would suggest Netbeans, because there is a packed version of Netbeans with JDK (Java Development Kit). Most languages ​​require an SDK (software development kit) to work with them, and it is being installed properly and often associated with IDE is often the toughest part of the process. Visual Studio comes with the establishment of a development kit already, which makes life easier, but other languages ​​such as
 Java and Python can be quite difficult to install properly. This is the reason why I suggested Netbeans + JDK bundle for those who use Java, because it sets up a complex for you, which will save you the hours of pain. In my opinion, there are three main advantages of using the fully featured IDE.
First of all, they are usually extensible, which means that there are many free plug-ins that can make your life a lot easier while making a bit more advanced. Second, and most importantly, an IDE allows you to debug your code. Most IDEs allow you to set breakpoints in code, which will stop the program from reaching that point and allow you to move through the line through line, so that you can check the contents of all variables at any time. (For those of you who do not know a variable, I will explain briefly. A variable is a just like a train station locker. Make a big demand enough to catch whatever you want to store, and If the shop you want is the right size, it can be stored there. When you write a program, you will be held in one of the data you want to temporarily store, as long as you do not do it with it.)
When you call old programming, if you have any bugs Not found, you are not working hard. Almost any non-trivial program will work for the first time, and trying to do the job where the problem is without the use of the debugger, it is the pain that I would not want on anyone. Finally, an IDE will often advise you to fix issues in the code. This can be very useful for fixing bugs, and protects Google's support every second minute.


Language learning: Now when you have a language and IDE, it's time to finally learn the language. This, as you may or may not be surprised to learn, is not very complicated - it's just time consuming. There is no better way to learn programming than to learn programming for the first time. Buying a book which walks you through steps, will not teach you anything, because you will not understand the reasoning behind whatever you are doing, and people often get disappointed with tedium.
The key to learning programming is a goal. Think of a task, such as where you are watching all the TV shows, or to see any system in all your books in a particular category, or if you feel brave, used on a regular basis. Try to repeat part of something. My advice would probably be to start small, perhaps by making a sequence of message boxes that insult the user or really simple calculator. This is important when you start the first time that your goals are interesting, challenging and entertaining. If you really try to create boring programs then you will be disappointed, so try to inject some comedy in your program. Calculator is a very good initial program, but after getting the general idea it is important to set ambitious goals, as you keep doing simple things, you will never learn anything new. It is important to include some knowledge received from previous work. One of the reasons for the failure to teach the programming well is that they use small instances for everything, While planning what you really have to do, without considering this, you will need to complete it. This means that you will be able to code some code before knowing it, but the most important thing is that you will not know how to code it. Learning to do is the best way to learn. Go for a full program that works on what you wanted to do on a computer in the past, and when you finish, you will know a lot and you have a useful (or at least fun) program Some toys that display lists are much better than the program.
I have said that you learn by choosing projects where you are unable to do some classes, thus you need to learn, but how do you know how to do them? It's easy, and possibly the way you got this article. Go to your favorite search engine (like Google) and find out what you want to do - for example, to find some examples of using drop down lists in Java, search for "Java drop down list". Because you will need it for any other work, not only to repeat the examples, for example you have to play with the examples you find and try to get them to get them. Just search for whatever you need, and for a long time you will find that most of the basics are natural like waking up in the morning, and without spending a small fortune on books without any burden and without any excitement done. To date, if I get bored, I sometimes break one of my first programs which are just a list of boxes and random number generators. It's all work to try to fill up all the boxes, such as the random number generator gives you in ascending order - if you do not leave the space and can not fit a number in the hole then you lose and start again needed . This is a simple program, but when I made it for the first time I did a lot of work and I learned a lot from experience. Once you have some decent size programs under your belt, you will find that you know the language well. You will also know that this is rare, it does not matter how well you know a language, being able to write a program without using Google at least once without using Google. So keeping this in mind, it can be argued that you have never learned the language without trying to learn it. Obviously there are such standards and good practices that you cannot raise yourself, but as you see more examples and read comments, you will find that you adopt your standards fast.

Learn another language: Once you have learned a language, whatever it is, the most valuable thing you have learned is all important words for searches. When you want to do something in a new language, you only need to find what you want to do and the name of the language. However, by now you will know the names used to refer to the name you want to make, so that your searches can be more effective and get examples and answer faster. Since the basic principles of programming are very similar, even if you use the language you expect, after finding an example, you can mostly guess the meaning of code more effectively, so that you mostly Language can be really very fast.

Conclusion: If you do not take anything else from this article, remember that the best way to learn skill is to practice, practice and do some other practice, so do not expect to become an expert overnight. Remember that programming is not something that can be learned overnight, and to become a qualified expert, you need to spend at least 10,000 hours of programming, so you will need to find ways to be motivated.


Do not think about thinking about the program - rather, start programming, and before you know it, you will become an expert. Programming is a skill, and when you feel it, it is quite easy, but it can be quite annoying to see your small calculator, which took you a week and then the modern game like "Batman: Ackham City" Think and feel how far you have to go.
Programming is easy when you know how to learn is not a small thing, so it is important that you work yourself. These tasks should be primarily interesting and enjoyable, because they should learn more and more in programming and learning, one day, you wake up and realize that you know a lot. You are your best teacher and the key is just to jump and start.

No comments:

Post a Comment