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

2

u/[deleted] Aug 08 '19

Personally, I'd recommend starting with python - you can do almost anything with it, its syntax is very intuitive (compared to many other languages), there's a robust support community, interest/demand has grown exponentially so jobs will likely still be here in 5-10 years, it's now gaining a considerable amount of traction in the data science community, and even if you're not interested in DS, many companies such as Pinterest built their stack on python.

That being said, there are some drawbacks. Python's syntax abstracts much of the memory management decisions you'd have to make with languages like C (and its variants.) So picking a language closer to the hardware,such as C, C++, etc etc has its perks; but be advised that the learning curve is a bit more challenging than python.

If you're unaware, there's a language called Cython that essentially weaves elements of python and C together, so that you can abstract away when necessary and get closer to the hardware when necessary. In fact, Cython is used quite a bit in development of machine learning algorithms when memory management is quite important for performance.

This might be a good strategy for you: Learn python well enough to feel comfortable with the language, branch out into Cython, and when you feel that you've got a solid handle on the C aspects, make the leap into C, C++, etc. At least this way, you'll get experience with both dynamically and statically typed languages, but won't feel that you're making little to no headway, starting with C.

2

u/Klauz98 Aug 08 '19

Thank you very much for the advice! I'll consider it! Btw I didn't knew about Cython, seems pretty interesting and promising, at least for new programmers.