Skip to main content

6 Points to Learn Programming for Beginner's

Learning programming isn't that hard neither that easy,But will be simplified once you are in a right direction and know how to.There are lot of things that you can do to making the learning easier.
  1.   Don't Move too Fast
    Learning is not a race, so keep calm and get it right before moving on, rather then quickly jumping for next. Thinking you know it all but you rarely did will be hindrance as you miss out the things and not have good good grasp of the fundamentals.
Take it as a continuous process and  don't stop try maintaining the pace till you have mastered the topic

2. Understand the Example Code
 Reading codes doesn't help you to write a program.What matters is understanding the code, so try to understand the code and always keep in mind start from the simple code don't flow on the words and go for complex code. Once you understand simple codes you will eventually grow yourself to understand the complexity.

3.Execute The Code
    Don't just be happy thinking that you have understood the code.You felt it and what you have felt might not really be. So type the code in the editor or IDE and run it,But wait I just said type not copy.Make sure the code does what you have expected.Play with the code,make changes run and pacify yourself that now you have actually understood.
   
4.Think of Similar Examples and write your Code.
    Once you have understood the example codes, think of similar scenarios and try writing code to fulfill your expectation.You have any ideas,no ? the ideas need not be big,still wondering what to code, search for other example codes from tutorials or books and go on with it.

5.Learn Debugging
    Good Programmers use Debuggers.Stepping through code line by line is the best way to trace the execution flow.Be familiar with the debugging tool you can use in the IDE. You might find using the debugger boring or time consuming but after few debugging you will find it comfortable and fast and know that it is the best friend for the programmer.

6.Stay Hungry, Learn More
    Don't be satisfied,go for more.We can find many tutorials floating over the internet and some are really good and can help  you understand even better and learn more.If you found difficulties search over and over and still you couldn't ask someone which is available to you and have a better understanding on the topic. But don't just rush to ask at once.

   

Comments

Popular posts from this blog

Using SqlDataAdapter to fill DataTable in c#

public DataTable List(string sql)         {             SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString);             SqlCommand cmd = new SqlCommand(sql, con);             DataTable dt = new DataTable();             SqlDataAdapter da = new SqlDataAdapter(cmd);             try             {                              con.Open();                 da.Fill(dt);             }             finally             {                 con.Close();             }             return dt;         }

Pivot in Oracle for Dynamic Columns

Pivot in SQL refers to the change of rows into columns based on specific constraints. An example of pivot could be the transpose of matrix. Example: a matrix containing day as 1st row and sales as 2nd row for  specific day sun    10 mon  20 tue    30 The transpose of the above matrix would be sun mon tue 10  20  30 This is an example scenario of pivot in sql. Now, Lets get on to the actual tables in database and see how we can use pivot . Starting with a fictional scenario, assume a table which contains two columns DAYS and SALES. CREATE TABLE TEST.DAILY_SALES (   DAYS   VARCHAR2(10),   SALES  NUMBER ) insert into DAILY_SALES('SUN',10); insert into DAILY_SALES('MON',20); insert into DAILY_SALES('TUE',15); insert into DAILY_SALES('WED',25); insert into DAILY_SALES('THU',10); insert into DAILY_SALES('FRI',30); insert into DAILY_SALES('SAT',5); Now when we execute the following select statement se