r/AskComputerScience • • Aug 08 '19

Which programming language should I master?

I'm a Computer Science student in the middle of my career at college and I had worked many times in different programming languages like Python, C++, C# and Java but I haven't picked one to master.

I know that is important to master on language and once you do, move to another one (that what a senior year student friend of mine told me) so, How do I pick the language that I should master? And how can I master it?

Any ideas?

I was thinking learning a bit of JS and HTML for web programming that I'm kindda interested in. But I really like programming in general not just web. I'm not really into anything concrete but I want to pick a side so I can really master one language or another.

Suggestions are more than welcome.

52 Upvotes

52 comments sorted by

View all comments

42

u/relative_absolute Aug 08 '19

As a software developer it isn't so important to "master" one language as it is to be comfortable enough to be able to use the appropriate language for the task at hand with the help of some documentation.

That being said, Python, Java, and C# are all great general purpose languages that many companies look for skills in. If you're interested in web dev, learning Javascript and some of the common tools in it (jquery, Node.js, etc.) and something like Bootstrap or one of its equivalents is great to do. The best way to learn is to do, so spending time working with a language is the best path to mastering it imo.

A great way to find out is to try, so investigate some problem domains and try to come up with projects that seem interesting to you. Python, R, and SQL are commonly used for data analysis, and there are tons of datasets out there to use, in addition to many sites offering public-facing APIs. C, C++, and Rust are great for lower-level programming (things like writing device drivers, OS, etc.; note I'm not as familiar with this area so others might have better advice about it).

2

u/Klauz98 Aug 08 '19

Thank you so much! I'm going to start investigating right away.

8

u/khedoros Aug 08 '19

As a note on languages, starting with Python as an example: companies will rarely look for skill in just Python. They're looking for it applied to some field, and expect some level of proficiency with the connected libraries/frameworks as well.

So, for web backend stuff, they'll be looking for things like Django, Flask, or Pyramid. For NLP, it might be NLTK. For ML, you might be looking at something based around TensorFlow. And so on. For Java, you might be looking at the Spring Framework and the Java Beans design pattern. Javascript/Node of course have their own famous sets of frameworks, libraries, and outside tooling to pick up, in order to really be professionally useful.

And most of those things are also commonly tied to database concepts.

Going lower level, C is an oddball, in the sense that there are libraries for some things, but a cultural expectation in the language that you'll be building some of your own boilerplate (there's a saying that the first thing to write in every C project is an implementation of a Linked List). But it does have an impressive array of libraries available for it. C++ has a much better standard library (although nothing like Java's), the ability to use C and C++ libraries, and the ability to implement libraries with C and C++ interfaces. Rust is great, but a little lot more niche, still. Maybe it'll grow in the future, and maybe it will stay small. Hard to say, IMO. But C and C++ are going to be more commonly used in a few niches, like robotics, embedded programming, games, and a few other areas where you either need explicit memory control or good, consistent speed without much of an external runtime. Most of the embedded people want experience before they'll consider you. Game dev sometimes wants you to have a portfolio of work, and there's all the connected stuff like

Overall, I'd pick an area that you're interested in, and start looking at the technologies that are in common use right now (and the whole stack of tools, not just the language). And the base concepts, too. A lot of webdev will be based around "It's model-view-controller, but X is different", or variations on the observer pattern. A lot of gamedev will be based on the entity-component-system pattern. A lot of ML and AI will use some coordinating language to access some well-known libraries, and drive the process that way. So...look beyond just the language. Pick some areas that interest you, learn a couple languages, learn some toolsets, libraries, frameworks, etc. Read up on software design patterns, because those tend to recur all over the place in software, and make learning new problem domains easier.

0

u/Klauz98 Aug 08 '19

Thank you soooo much for this. You have no idea how helpful this is going to be for me.

3

u/khedoros Aug 08 '19

Some of it is stuff that's obvious in retrospect, but the kinds of things that I really wish someone had talked to me about before choosing how to spend my project time, near the end of university.

Although reading through some of my text, it sounds like I just kind of trailed off at one point. I don't remember exactly what I mean to put there :-/

2

u/zultdush Aug 09 '19 edited Sep 20 '25

no thanks

2

u/Klauz98 Aug 09 '19

Thank you soooo much for the observation. I wasn't considering that but I'll be aware of it now.

2

u/zultdush Aug 09 '19 edited Sep 20 '25

no thanks

2

u/Klauz98 Aug 09 '19

You have no idea how thankfull I am with this answer. Thank you very much!! I need to do A LOT of adjustments right now hahaha but know I have a way more clear path to go through.

BTW is there any platform that you can recommend to investigate or practice programming? Or some sort of small projects for begginers in any language? (better in Java if possible) I had try some of codeforces and brilliant, but I couldn't find like programming "problems" to solve or assignments for improving at coding at least that I could untherstand.

2

u/zultdush Aug 09 '19 edited Sep 20 '25

no thanks

1

u/Klauz98 Aug 10 '19

Omg this helped me A LOT on putting my things together. I'm going to start right away with all of this. The "clone tactic" is a GREAT idea. I had never thought of something like that before , but I'll definitely give it a try. Thank you soooo much! I can't thank you enough, all this information that you had share with me is AWESOME! I really think that I can become a way better programmer if I follow all this. Thanks again!!