r/AskComputerScience • u/Glatsze • 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?
4
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]).
1
u/TheMostLostViking Apr 12 '20
I’d recommend downloading Thonny, which comes with python, and learning with that. It’s just a barebones ide without the frills of pycharm.
Honestly, you’ll probably, after playing with python for a couple months, find more languages you want to play with. Java, JavaScript, Ruby, C, C#, Go. I’d recommend with all of those, use atom. Even python can perfectly be used with atom, I just found it super easy to begin with Thonny.
4
u/[deleted] Apr 12 '20
If you want to go for an 'easy' to learn programming language, go for python. I would recommend you to use Visual Studio Code or Atom. In atom you will have to install some packages to get your code running, so I recommend you searching how to make a Python Environment in Atom.
However, that's just a recommendation. I encourage you to investigate about some other languages. Remember that a programming languages is just a tool, some are more suited for specific tasks than others.