Program language which one to choose ?

in program •  8 years ago 

Since I have a been 13 years old I have been interested in programming.
I don't have an education directly as a software developer, I am hardware developer this means that I design and devlop microchips.
But I like to automate my work via software.

The reason why I write this post is that I would like to help other to learn to program.

Ok. How to do start programming if you are new to programming.
They are a lot of program langued to choose from.
Just to mention some of them Algol, Cobol, Fortran, Forth, Modula 2, Basic, Pascal, Comal 80, awk, perl, java, bash, tcl, python, javascipt, C, C#, C++, D, F#, Haskell, Lisp, Prolog, Objective C, Solidity.... and and and
This just forms my to of my head but they are much more.

Ok. Where do you start to learn to program?
Yes. This very much depends on what you want to do.

The Different program language has different strength.
This also depends on which platform you are running on and the speed and development time you.

But if you want to program for the Internet it is of cause Javascript which is the prime language.
I use to think that javascript was a stupid half done language.
So I did not want to waste time on it. But the language is the language used by most people.
And it drives all internet browser today.

So javascript is a good place to start.

Here I will show a function which calculates X to the square.
This means if you put in 2 it will return 4 so 2 times 2.

var sqr = function(x) {
return x*x;
}

var y=sqr(2);
// the variable y becomes 4

Javascript is what is called a C like a syntax.

The same program in C would look like this.


double sqr(double x) {
    return x * x; 
}

int main() {
   double y=sqr(x);
}

I ma using D. When I write hard metal code
In D the same program could look like this.

module Sqr;

T sqr(T x) {
   return x * x;
}

void main() {
    auto y=sqr(2.0);
}

So you can see the language looks a like.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Congratulations @udefranettet! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You published your First Post

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Congratulations @udefranettet! You have received a personal award!

1 Year on Steemit
Click on the badge to view your Board of Honor.

Do not miss the last post from @steemitboard:
SteemitBoard World Cup Contest - Round of 16 - Day 4


Participate in the SteemitBoard World Cup Contest!
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: @good-karma and @lukestokes


Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Congratulations @udefranettet! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!
  ·  7 years ago Reveal Comment