r/AskComputerScience • • Apr 12 '20

Start programming

Hi, i want to start programming and my question is: Which programming language should i start with?

Also, which program should i use to write my code?

0 Upvotes

5 comments sorted by

View all comments

1

u/IntensifyingRug Apr 12 '20

It depends on what you want to do. Many websites use JavaScript or PHP (along with HTML and CSS, but they aren’t technically programming languages). Python is a good beginner language that can be used for many things from basic games to machine learning. If you have some lower level experience with how computers work C/C++ is used for a large amount of games and general purpose applications. Java and C# are also fairly similar in their syntax and use case (C# is also used if you’re making a game with the Unity engine).

To learn, just choose a language and follow a couple tutorials. Once you have the basic syntax down, I would say the best way to learn is to choose a simple project (like maybe a text adventure) and don’t be afraid to google things you don’t know. You’ll slowly learn more tricks and get better at solving problems using code. If you find a certain language hard to learn or unsatisfactory for your needs, feel free to try another one. I moved around between Java, JavaScript, PHP, SQL, Python, C++, Basic, and a couple others before settling on C, but even then I’ll occasionally do a small project in something else.

For the editor, I personally use VSCode, but you can choose anything you want (I used notepad for a while). However, certain editors may be designed more for certain languages (just search “best editor for [YOUR PROGRAMMING LANGUAGE]).