how to get into programming part 2
Part 1 was on generic stuff that I have little idea on. But on programming and being a programmer, I can say a bit as I am living as a programmer.
Getting into programming
Lets start from simple questions first:
What do I need to be a programmer
A college diploma or degree would be good to be a programmer – but IT IS NOT MANDATORY. I have worked with great great programmers who have just a high school diploma, who have totally unrelated degree and who were working stuffs that in no way related to computers for that matter.
****But, if you have the chance to go to school and learn about programming/computers – it would make life easier and it would definitely create a difference. By yourself, you need a lot of experience to understand the basic things, with class it is so easy. By yourself you be a bad programmer for a while before you know it is bad, with class you will be guided with the best practices and become a good computer citizen right away – so if there is a chance of going to school never turn it down..
So what do you need?
A computer, a good book/website about programming and passion to program.
Where shall I begin?
In programming itself, there other branches as well: you can work on desktop applications, mobile applications and web applications.
I would advise to concentrate on web and mobile applications these days.
I will greatly discuss the web part.
The first thing on my list of advice is do something and see something..
The webpage you are interacting today for different kinds of tasks, be it facebook, google, yahoo, you online banking and the like – they are all web applications. Your goal would be to be one of those peoples who created such a good applications that make our life easier from day today.
Speaking of web applications, there are different kinds of tools that would allow us to create the websites: here are the major ones
1. The basic HTML part we discussed on the designer section of part 1
2. Good understanding of server-client architecture. All we need to know is a major part of this only
3. Fair Database knowledge – don’t worry, you will learn it as requirement when you get started to work on your web stuff
4. At least one web programming language. The HTML we discussed is only for look and data bridge part – there is another main part behind every website.
For example, when you log into facebook, facebook would know you right? it will pull if there are any new messages you have, who liked you? who has friend requested you and the like. All this has to be done somewhere. Based on your username, facebook gurus should provide you with messages that are sent to you only without sharing to the others… and even more tasks. I was talking about this task.
The above task is generally known as back-end development. It could be done using different programming languages – notable ones are PHP, Ruby, ASP.Net, Java and more and more.
So, you need to know at least one of these languages to work as a back-end developer. It looks a lot right? Again it is NOT
umm.. which one shall I study/read first
Here is the fun part. We are going to do it step by step. There are a lot of things we have to know,but we dont have to know all of them before we need them right?
Here is what we do in the order of importance..
1. Lets create simple website..
Oops.. I don’t know anything.. how could create that?
That is what we are going to do. At this level we will see how simple it is to create a very simple one
Open any text editor like notepad, How to open notepad and insert
<html> <head> <title>my first webpage</title> </head> <body> Here is my first webpage </body> </html>
Then save it as my_first_web.html
After this doubleclick on it and you will see your very first webpage.
Then go back to HTML Introduction and invest a good amount of time by changing font, color, bar and the like until you can do it without further reference..the site has online editor also so you can test it online.
Afte that I would say invest a little bit of time on any programming language before you dive into the web programming.
C++ is a good candidate for it..
Intro to programming Actually, check this guy’s videos they are a good start points..
The following links are also helpful ones
I will try to write on Web programming next time – especially on PHP
Please post your questions/comments and I will try to answer accordingly.
See how you would solve these known algorithm problemsString Ordered Permutation Algorithm Problem
Kadane’s algorithm in C – Dynamic Programming
Java solution for checking anagram strings – tell if phrases are anagrams
Check if there are three numbers a, b, c giving a total T from array A
Changing decimal number to its binary equivalent
Find the first occurence of number in the sorted array
Find the pairs that makes K Complementary in the given array java solution
binary tree problems with solution
Find K Complementary numbers from array Java implementation
Find longest palindrom from sequence of characters