Malrande Posted June 9, 2020 Posted June 9, 2020 Hi all, Pretty new to the forums so would first like to start off with a hello and introduce myself. Coding/programming has always been a dream of mine that's been pushed to the back and now nearly hitting 30 I want to start learning it properly as a hobby and see how it goes. Before diving into a course I've started the route of free training and YouTube videos to see what it's like again. Previously I've had a little experience coding whilst managing and playing around with SAMP scripts back in the day however I would certainly class myself still as a beginner! I know the question of 'which is better C# or JS' has been asked a lot so I'll refrain from duplicating however my main question is that as a total beginner which would be the first/best/easier code to learn out of C# and JS to get me on the right path to eventually coding a RP like server as a project. Could a server be coded all via JS or C# or does it require a mixture of the two? I have no intentions of starting to code a server yet as I want to learn the basics and theory first. Any support on this would be great! Thank you Mal 🤙
MrPancakers Posted June 9, 2020 Posted June 9, 2020 (edited) Asking which one is easier is definitely a personal question, not every language is easy to learn for everyone and others pickup languages easier. Either one is sufficient and I don't believe is any harder than the other. If you learn one language you don't need to learn the other, you can code the whole server using only one language. This isn't really going to answer which one is better, you will get a lot of recommendations to use C# which is a good language, but be aware most resources posted have been done in NodeJS/Javascript so you will have to mostly stick with the documentation on the wiki or using our Discord server and looking for examples there if you're more of a learner through example. tldr; either language is fine, there's no disadvantage using either, and you don't need to know both languages to create a server. Edited June 9, 2020 by MrPancakers 1
Malrande Posted June 9, 2020 Author Posted June 9, 2020 Thank you @MrPancakers, I appreciate the response and it makes sense. Personally I have started with JavaScript as thought this may have better opportunities later on if I decided to take it further etc. 👍
MrPancakers Posted June 10, 2020 Posted June 10, 2020 11 hours ago, Malrande said: Thank you @MrPancakers, I appreciate the response and it makes sense. Personally I have started with JavaScript as thought this may have better opportunities later on if I decided to take it further etc. 👍 Precisely why I learned Javascript, personally more interested in doing web development down in the future. Also be aware Serverside is technically NodeJS (and then clientside is Javascript) but as long as you know Javascript, then NodeJS will work for you.
Recommended Posts
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!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now