RE: Top 10 coding tips for beginners

You are viewing a single comment's thread from:

Top 10 coding tips for beginners

in blog •  5 years ago 

@shaden, very well articulated post!

For the last 15-20 years I've been an economist. But I've decided to change my profession. That's why I've just started to learn how to write code and have chosen to start with JavaScript.

I find your post very useful! Thank you so much for putting efforts to write it!

Posted using Partiko Android

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:  

Greetings @cryptospa!

First of all, that's awesome! It takes quite the determination to change your profession after so many years.

Regarding learning JavaScript as your first language, go for it! I am mostly a web dev so I absolutely love it!

But be careful about one thing: usually variables have a type. On languages like Java and C++, you have to declare a variable like "int n=0" in order to declare that "n" will be a number.

On JavaScript this does not happen as you declare a variable as var and it's type varies depending on what you put inside of it.

So be careful in the future regarding this aspect.

Thank you very much for your feedback and good luck on your endeavours!