Are you Learning a new programming language
While learning a new programming language we all get confused that what are things that we should focus on.There are many things to learning before diving deeper in any language.But its very hard, many times we are so overwhelmed by the advanced features of language or we want to accomplish something specific in short span of time that we don't put much effort in learning these basic concepts and then we realist that we are making silly mistakes.This happen even with experienced programmers.So here is a list of things to focus on while learning a new language.This may also help you to find right language to learn so, even if you are not learning a language right now but want to learn and you are not able to find the right one for you Keep reading it may help.........,
THE SYNTAX
According to Wikipedia "the syntax of a computer language is the set of rules that defines the combinations of symbols that are considered to be a correctly structured document or fragment in that language". But apart from definitions a syntax is really important to learn before preceding further in learning a programming language.
Like pearl have a very hard to memorize syntax while Ruby have a very easier to understand syntax.
Different languages have very different syntax.Even languages which may seem very similar to each other may have very different syntax, an example of this would be javascript and coffeescript.
One is white space sensitive while other uses certain characters to mark code blocks.
Understanding these differences are important so, make sure that you understand the syntax properly.
Like pearl have a very hard to memorize syntax while Ruby have a very easier to understand syntax.
Different languages have very different syntax.Even languages which may seem very similar to each other may have very different syntax, an example of this would be javascript and coffeescript.
One is white space sensitive while other uses certain characters to mark code blocks.
Understanding these differences are important so, make sure that you understand the syntax properly.
THE VARIABLES
Variables in any language are important to understand.Variables allow you to store values in memory and use them as required.Without variables it would be impossible to do many things(or atleast it would be a mess).
Usually variables does not differ much in different languages(except the cases like python).So if you know concept of variables already its easy to learn the same in other language.
You should understand the concept of variables and data types properly.
Usually variables does not differ much in different languages(except the cases like python).So if you know concept of variables already its easy to learn the same in other language.
You should understand the concept of variables and data types properly.
THE CONTROLS AND REPEATATIONS
Control structures define the direction of a program.Without control structures you cannot do much about the flow your program.Most languages have these Control Structures.
1)if then
2)and else if then
3)While loops
4)For loops.
If you are new to programming then you must understand the concept of entry control and exit control loops and the error checking with if statements.
1)if then
2)and else if then
3)While loops
4)For loops.
If you are new to programming then you must understand the concept of entry control and exit control loops and the error checking with if statements.
MASTER YOUR STYLE
Some people think that coding is just mathematicians's work but its more of an art.And every artist have a specific style.You need to find that style.For example I like brackets but it doesn't suites me so, i choose netbeans for javascript programs.But it may happen that you like brackets.
Here are some steps while choosing your style.....,
1) Find pattern in how you solve problems,that's your
style
Here are some steps while choosing your style.....,
1) Find pattern in how you solve problems,that's your
style
2) Choose the tool
Whatever you choose make sure that it is...,
1) productive
2) updated and not error prone
3) works everytime and for every conditions.
So these are some things to consider while learning a new language.Please tell your thoughts in comment section.Follow me on google plus by clicking follow in left sidebar.
Comments
Post a Comment