Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



 1141

Learning JavaScript

by HomeBot - 07 May, 2019 - 06:06 AM
This post is by a banned member (HomeBot) - Unhide
HomeBot  
Registered
3
Posts
1
Threads
5 Years of service
#1
Hey guys, I wanted to learn to code in my free time during college and wanted to start with JavaScript because I've had some previous experience with Adsense sites and wanted to go down that route in the future. Would JavaScript be a good place to start for someone with no previous experience in coding? I've started up on Codecademy free lessons but if anyone has any advice on some other resources that might be better let me know!
This post is by a banned member (Duncan Idaho) - Unhide
589
Posts
148
Threads
5 Years of service
#2
JavaScript is a great choice but you should be familiar with HTML/CSS before you go down that road.
This post is by a banned member (Sartux) - Unhide
Sartux  
Infinity
175
Posts
10
Threads
5 Years of service
#3
(This post was last modified: 13 May, 2019 - 01:01 PM by Sartux.)
Yeah its a good language to start with. Its a bit more complicated than python but easier to do web/gui stuff with. Everyone always gets frustrated with python if they want to do anything 'visual' whereas JS has it all built in.

One thing to be careful of is that javascript is very unforgiving compared to python. If you make a mistake it wont necessarily tell you where you went wrong or things will just suddenly stop working but not throw up any errors. All that means is you have to really learn the language rather than just do trial and error.

There are good resources all over - the w3schools stuff is probably the best as it has loads of examples and is well written.
This post is by a banned member (Duncan Idaho) - Unhide
589
Posts
148
Threads
5 Years of service
#4
(This post was last modified: 15 May, 2019 - 03:56 AM by Duncan Idaho.)
(13 May, 2019 - 12:53 PM)Sartux Wrote: Show More
Yeah its a good language to start with. Its a bit more complicated than python but easier to do web/gui stuff with. Everyone always gets frustrated with python if they want to do anything 'visual' whereas JS has it all built in.

One thing to be careful of is that javascript is very unforgiving compared to python. If you make a mistake it wont necessarily tell you where you went wrong or things will just suddenly stop working but not throw up any errors. All that means is you have to really learn the language rather than just do trial and error.

There are good resources all over - the w3schools stuff is probably the best as it has loads of examples and is well written.

That's not necessarily true. Try and catch will output any errors with syntax, etc. Chrome's developer console does a pretty good job at pin pointing errors. Issues with a variable or function? Use console.log() to track progress.
This post is by a banned member (Sartux) - Unhide
Sartux  
Infinity
175
Posts
10
Threads
5 Years of service
#5
(15 May, 2019 - 03:56 AM)Duncan Idaho Wrote: Show More
(13 May, 2019 - 12:53 PM)Sartux Wrote: Show More
Yeah its a good language to start with. Its a bit more complicated than python but easier to do web/gui stuff with. Everyone always gets frustrated with python if they want to do anything 'visual' whereas JS has it all built in.

One thing to be careful of is that javascript is very unforgiving compared to python. If you make a mistake it wont necessarily tell you where you went wrong or things will just suddenly stop working but not throw up any errors. All that means is you have to really learn the language rather than just do trial and error.

There are good resources all over - the w3schools stuff is probably the best as it has loads of examples and is well written.

That's not necessarily true. Try and catch will output any errors with syntax, etc. Chrome's developer console does a pretty good job at pin pointing errors. Issues with a variable or function? Use console.log() to track progress.

It's not terrible (especially compared to something like C/assembly) but it's not as friendly as python imo - mostly because python does all the things you've mentioned without the programmer having to do anything. On top of that, you're also working concurrently with four systems that can mess up (HTML/CSS/JS/Database) and it can be difficult to pinpoint what's gone wrong - especially starting out on your first big project.

JS certainly isn't a bad choice, and I'd recommend people who want to go into visual programming to start with it, but just to be aware that its a bit less forgiving than python which is just 'go here and change this'

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 5 Guest(s)