157 points · by trtobe · 8y ago · 131 comments
I am interested in distributed system/data engineering and also in finding easily new well payed job. I know it's not possible to learning and master them all in a short time so I would like to pick 2. What I am struggling the most is how well to evaluate the language and get the best from it. Each time I pick one I end up giving up after 2 weeks as I always go back to Java.
The way I evaluate is simply by going to project euler and go through the problems from 1 to 20 then I don't know the next step to take from there. I find myself going through the crazy articles comparing languages and lose focus and give up.
Would be appreciated if you can share how you manage to focus on learning a new language or if it's worth at all learning/moving to a new language.
Update: forgotten also to ask what language do you advice and in 1/2 sentences why. thank you
Restricting yourself to one Human language limits your thinking and perspective. Each time I acquire a new Human Language, I find myself thinking differently and understanding people more deeply. Speaking French and German allows me to be a better communicator in English.
Human Languages can also provide means to an end. Learning German allows me to become a German Citizen. Learning Mandarin would allow me to start a business in China.
The same goes for Programming Languages. As mentioned by others, different Programming Languages were developed by people with different values, needs and outlook. Each time I learn a new Programming Language, I learn new forms of expression for my problem.
Programming Languages allow you to do different things. Depending on what you want to do with your career, choose differently.
Some languages are more useful than others. If you only know Java then you have a lot of learning ahead. I would explore in this order:
* Python - You can do almost everything well in Python. Make lots of stuff
* Command Line & Bash - How systems are glued together. Deploy the stuff you make.
* GNU Regex & awk - How to find things and process text. A key building block of programming is processing text.
* HTML5 & Javascript - The right way to make most visuals. A frontend for your stuff.
* C - How all the above works underneath. Understand the stuff you made.
* SQL - How to handle data in databases. Persist the stuff.
* Haskell - Pure functional programming. Your Python and JS code will improve. Make the stuff beautiful.The hard part is knowing _how_ to measure your skills. A while back I came across an article called the "Programmer Competency Matrix" and it stuck with me (google it for reference). Essentially it's a table of CS/programming skills with measurements 0-3, and it gives the reader a way to measure/track their various competencies.
After I read that article, I took his matrix and added my own additional rows/columns that I'd like to be proficient at. To the OP - I suggest doing something similar. Write out a list of all of the programming skills/languages you'd like to have (and need to advance your career), and give yourself an honest rating. Ask a programmer friend to rate you as well. Then ask yourself - what 0's do you want to turn into 3's, and weigh that against your career choices. Then plan your learning accordingly.
Like mjmdavis said: programming langs are a means to an end.Making a choice on where to move forward isn't just about your career - it's emotional/artistic/personal. You don't want to choose a language you hate just for a paycheck. I find that being more self aware (with my matrix) has helped me learn the skills I needed faster and more intentionally.
Good Luck!
I think mastery of cloud development and deployment is crucial going forward. Start experimenting locally right on your laptop with minikube, microk8s, snaps, prometheus. And get a sense of designing scalable systems.
You should have the ability to immediately estimate project costs. So you can give potential stakeholders a ballpark figure to open negotiations. Billion item recommendation system running on spark that serves 100K+ requests per second deployed to 1000 node cluster. Will it cost under $100 per hour? Or do we jump to tensorflow and a few large gpu instances for half that. Once you gain sufficient mastery. It will become second nature. And you can concentrate on design and building.
Best of luck :)
It's not at all inevitable. I would - indeed do - use Scala for all of the use cases you listed.
I wonder if it were equally possible with any language.
Could a Python or Java programmer say the same? I think there are probably a handful of languages that you could use for "everything". The limiting constraint is the presence of a reliable javascript compiler, followed by data science libraries (I think).
Scala was explicitly designed as a "scalable language" with both the strong safety guarantees that you need for large-scale development and the lightweight syntax that you need for throwaway scripts. But a lot of modern language design is converging on the same set of features (e.g. static typing for safety but type inference for convenience, pattern matching for the safety of the visitor pattern but the convenience of an if/else) and would have the same abilities. E.g. in a Reddit post about Rust a couple of days ago people were talking about writing web services in Rust, and part of the rationale there is that while Rust may not be the perfect web service language, it's good enough that if you already have Rust in your stack you might well write web services in Rust rather than bringing in a new language. I haven't seen anyone doing data science in Rust yet, but I see no fundamental reason why the language couldn't be adapted for it.
It's a terrible idea. Writing and running scripts from Scala is incompatible with certain actions. Specifically provisioning and kernel configuration. There are lots of tasks that Scala is a bad tool.
Even if there’s a Scala transpiler or WASM target - if you think you’re going to ship to production and blissfully never need to know JS...
Specifically, you almost have to choose modern JavaScript -- because you will need it on virtually any real project (it's everywhere), and you've already got the enterprise-y server-side covered. Don't get pigeonholed into backend-only, non-JS roles. Despite all the haters, es6+ is powerful and expressive.
You'll want to suppress your OO habits though, and embrace FP as much as possible.
Maybe get there by way of ClojureScript if you're up for it. Good luck! Have fun!
That's a bit of an overestimation to say the least. E.g., I work at a trading firm and we use all kinds of languages for all kinds of purposes on all kinds of weird platforms, but JS is not one of them (I don't think we use Java much either, because why would you, this day and age).
'Any real web project' would be more correct. Not everyone cares about web projects though (same as not everyone cares about non-web projects, as you've pointed out).
And, of course, VHDL (in certain projects)...
In relation to the OP then, being a master of an area is valuable, but so is knowledge of a few others in some depth and a lot of other areas at a much shallower depth.
[0]: https://www.facebook.com/notes/kent-beck/paint-drip-people/1...
I could get by just fine professionally knowing C++ and later C# plus a bit of assembly (more so in the past) along with HLSL/Cg for graphics programming. The other languages I've learned have been for my own interest / education and that's included only a very minimal amount of JavaScript.
- Haskell, functional programming with static types
- Clojure (or Common Lisp), functional programming in a dynamic language (and understanding the AST-as-syntax-homoiconicity)
- C/C++, "low-level" programming (e.g. pointers, memory management, registers, the basics of compilers)
- Prolog, Logic Programming as a completely different paradigm
Then after you've "grokked" the pros and cons of these languages, pick one language to become good at. It doesn't matter if that is Java, Java is a fine language; but being exposed to different paradigms broadens your horizon in my experience, and sometimes the idioms and ideas are portable. Personally I've done a lot of back and forth between Java, Python, Clojure and R . If the choice is mine I usually pick Clojure, but not always. Statistics and datascience I still do in R or Python just because the sheer amount of documentation and libraries available. I guess I've been influenced too much by Rich Hickey but he asks "would you rather become good at programming or at problem solving?", and for me it's the latter. Language paradigms help you to recast problems onto a different frame of mind, but at the end of the day it's your ability to help further a cause/business/idea that counts. Just my 2 cents!
A while ago I was posting on one of the "how do I learn math as an adult" threads that inevitably pop up here, and I got an absolutely wonderful response full of details and resources, but I asked basically the same followup question: "Thanks so much, this is great, but by the way, how can I use these things?"
The hard part about answering that question is that these are fairly abstract mental tools that affect your very perception of problems. I don't ever bust out Prolog or Haskell while in my day-to-day work, or even directly and consciously apply Prolog or Haskell-style constructs, but I 100% approach problems differently as a result of knowing them. How can I demonstrate that? It's difficult. When I think about real work problems, I don't spend a lot of time doing some kind of meta-thought where I try to identify how I know to think that way. But I do know for example that my Java code ends up looking and feeling more Haskell-y when I'm done. And I know that my coworkers look at my JavaScript code for example and wonder how the hell I came up with a particular solution, and it's for the same reason: I just see it differently, because I've built up a more varied mental toolbox.
That may seem like a wishy-washy answer, but hopefully it has some use. Think of it like learning Latin or how to play an obscure instrument: they're not necessarily tools for application, they're for changing how you see language or music, or in our case, how you see problems.
EDIT: All of this isn't to say that discussions of languages in the context of a specific problem area can't be useful. Sasa Juric has a wonderful section on which problem domain Elixir excels at in "Elixir on Action," for example. I just think in many cases, as with Prolog and Haskell, the primary benefits appear at higher levels of abstraction.
For programming languages it boils down to: know the abstract stuff across most/many languages, but drill down on a small amount of languages/frameworks to be more productive.
I'd say: get to know Java and Python in-depth, select a few frameworks to know well (as languages by itself aren't the most useful thing when you are developing complete applications without reinventing the wheel). Java and Python have the advantage of a rich legacy, long term development, good cross-platform availability and broad support.
If you are specialising in the direction of high-efficiency or platform-specificity, I'd suggest Java + Elixir or Java + Swift.
I'd regard Scala and Kotlin as "Java-alternatives" for when you want to do Java without doing Java. Same goes for Groovy (and Grails framework). It's not a bad thing but doesn't automatically yield better results or gets you better understanding.
Keep in mind that languages by themselves are only useful if you have a supporting framework and knowledge of abstract programming concepts (which are language-agnostic).
Elm will give you the ability to do frontend work while familiarizing yourself with functional programming concepts.
Once you're OK with Elm, go to Haskell, which is a great language to get exposed to plenty of radically new programming concepts.
Once you have done that, and considering you have experience in Java, you will have a much broader view of abstraction thinking.
My experience tells me that monoglots reach false maxima because there experience isn't broad enough to realize that there are other maxima to climb.
Java is still, probably, my strongest language, but I strongly believe my craft would have stagnated around Spring/Hibernate if I hadn't taken the time to figure out how problems like typing, dependency injection, persistence, IO etc all work in other ecosystems.
Pick a language that is good for the market place you care most about. Mobile go with C or Swift. Science probably python. JavaScript if you like the web and if you like the perks of working in an Enterprise Java won't hurt.
For python, it will increase your productivity in a lot of things such as etl/some scripts and also be very helpful to access various libraries for dealing with data such as numpy/pandas.
In my opinion, the best way to learn these languages is to tackle some problems. You can just start by scraping some data, inject them into distributed messages/logs system like kafka/rabbitmq ,transform them by using some tools like spark,and process them and store into some places that you want such as hdfs/postgresql/cassandra/s3.
If you already know Java, stick with it and learn an MVC framework to create APIs (I'm not a Java guy).
Learn HTML+CSS+JavaScript and then one UI Framework like Bootstrap and one SPA Framework (React or Angular).
Learn at least one RDMS - Postgres or MySQL they are the most popular open sourced RDMS
Learn Python. It seems to be the go to scripting language for data science and....
Learn about cloud infrastructure - preferable AWS since it's the most popular. You're going to have to host what you're doing somewhere. Opinions differ, some would say just to host on something like Linode, much cheaper and simpler.
For Scala (and I guess also Kotlin and to a certain extent Python), you have the advantage of easy JVM interop, so you can use them in an existing Java project. That's how I learned Scala (which I'd recommend): start by writing just a couple of classes (a small helper application with a main() where I wanted to invoke some of my existing Java code), start by writing very Java-like code, and then gradually work your way up. Don't try to force the fancy techniques before you have the problems they solve and can understand what they're good for. It took probably 2 years before I wrote any code that used (generic) monads, another year before I used any monad transformers, another year before I wanted to use final tagless...
Instead, you should try something like a functional language (like Haskell or a Lisp variant), or a dynamically typed language (like Python), or a language with a different memory management model (like C, C++ or Rust). It will give you practical skills and expand your horizons on how to solve problems with programming.
- Start with Python, it's a very common dynamic language in the wild.
- From Python it's easy to learn Go and you'll want some Go experience if you want to work on distributed systems in today's culture.
- Javascript is another extremely useful one to know that you'll find everywhere, start with the book "Javascript the good parts".
Adding these in addition to your Java base would make you very well rounded, IMO.
In my 5-6 years of professional experience (startups and enterprise, full stack to infrastructure) I've never encountered Kotlin/Elixir/Haskell/Swift.
1. Your "personality"
Properties/qualities that you like most. To discover what you really like you need to try different things. It might change over time as you become more experienced.
- dynamic vs static
- weakly vs strongly
- oop vs functional
2. Impact and market.You need to specialize in things that let you make the most impact. At some point, knowing specific APIs/Frameworks is more important for productivity. You also want to get nicely paying job and these will only come when you are expert.
- frontend vs backend
- DevOps vs dev vs dba vs full-stack
- networking vs distributed vs graphics vs web vs embeded
I would avoid Project Euler as problems are too small to evaluate anything other than syntax. Learning stuff like Kube or AWS is not particularly useful. Knowing what tool to use and how to put it together is more important.Finally depends what you choose you might end up learning one language or multiple.
I have one other comment to make. In my opinion, being a strong programmer is mostly a "knack," meaning it's not a particularly teachable skill. Some people are just amazingly good at it. If you are, great. If not, I suggest acknowledging that and fashioning a career that doesn't rely primarily on programming skills.
> fundamentals of things like memory allocation, data types, call stacks, etc. remain a mystery to them.
I don't think C is especially good at teaching these.
Unless you roll your own malloc, the big difference in memory allocation in C vs. say, Java is that C requires the programmer free memory after allocation on the heap. This is more tedious than difficult.
Data types exist in other languages. You can unpack raw bytes of data using Java and simulate the behavior or unions.
You'll have to explain how call stacks are more exposed in C. Best I can think is calling conventions, but that's more the domain of compilers than language. Buffer overflow prevention, maybe (but again, I think that's more tedium to deal with).
C is great because it's a small language. But I don't think it's an especially educational language.
Many times that doesn't matter, but to me it's important to have a supple and complete understanding of the underlying ideas. Java fails at that.
When I referred to memory I meant more than malloc and free. It's things like understanding how an array of ints is laid out in memory and what happens when you treat it as an array of chars instead. If you talk about this to a Java programmer, their eyes are likely to cross.
> It's things like understanding how an array of ints is laid out in memory and what happens when you treat it as an array of chars instead.
This is one of said landmines, as the size of both is architecture/compiler specific. The only thing you learn by stepping on this one is, "use fixed-width integers when you care about exactly how many bytes the value is."
I just wanted to make this point because I've repeatedly seen folks frustrated by others who just get things faster and ultimately make progress much more quickly in their careers.
I think it's useful/important to acknowledge that programming is a bit like sports. It's not fair, but some people start with an incredible genetic (or something) advantage built in. I've seen this time and again.
Incidentally, the best programmer I've ever met (he co-authored a very popular programming language) happens to be one of the slowist typists I've seen. I once asked him why, and he said "because I have to think."
Take your time and have fun.
For some it means writing hard mathematical algorithms. For some it means writing the efficient and secure low level code. For some it means solving real problems fast by efficiently glueing existing code. For some it means great communication/management with 30 other programmers on team.
I think it is more about finding who you really are and following that than trying to become some dogmatic idea of what "amazingly good programmer" is.
Find your niche. The bubble effect is strong in all of us.
Yes!
If we assume that about a third of all programmers are "average" (whatever that means), another third is "above average", and one third is "below average". So, it's not actually a tiny minority, despite what Hackernews might make you think.
Programming consists of many different aspects: creating an architecture, designing algorithms, implementing them, hunting bugs, testing etc.
If you think you are "below average" in one of these areas, you can team up with other developers who are good in that area, and let them guide you.
For example, I work with somebody who is amazing at digging deep and really understand the low-level nitty gritty of bugs. But, they are not that great at building high-level abstractions. So when a task involves building high-level abstractions, we discuss these abstractions beforehand, write some mock examples that use the new abstractions etc.
Some developers aren't good at low-level stuff, but build great user interfaces. Some don't do that very well, but shine when it comes to automation.
To sum it up, "below average" programmers can be very useful to an organization with the right amount of specialization and collaboration/mentoring.
I used to hate (the lack of elegance of) JS but I got used. After a lot of dabbling, I'm still between React and Vue. While I prefer Vue, all jobs ask for React. Framework marketability seems to be crucial when/while you perceive yourself as below average.
However, as a practical matter, learning just Java and Python really well will cover most areas of software development.
My personal preferences: I prefer Ruby over Python as a scripting language, but I am forced to use Python in my machine learning job.
I have used Common Lisp since about 1984, love it, and I am fortunate to get to occasionally still use it.
I like Haskell, but I am a ‘forever student’ and use a subset of the language that I understand.
EDIT: some knowledge of JavaScript is also recommended
I disagree, given that both are interpreted languages, that excludes (practically) most embedded, low-level, high-performance software. Sure, you can use stuff like micropython, but it is not as practical as C is in that domain.
From there start to play with the internet, load remote datas, parse them, put them to your database. Then melt this all. Learn bash php scripting and unix, start to make system calls (exec, system, passthru...) enjoy the speed. Learn conditions (With just if you can do everything...seriously), Learn looping(while, foreach) , exit conditions and timing. Try to recreate basics tools: grep, cut, head, tail, cat.. you will see it is fairly doable and very funny to do.
Get bored? Do some javascript!
You will see personal ideas flowering at high rate. Still keep your objectives as low as you can. Small projects all aside.
Now you have all this in mind, open a book, check other sources code.
Learn security a bit. (Or not it all depends to your objective). Check good practices.
Close the books. Cut the Internet.
Get over this fancy libraries that anyone advise.
Open your editor. You are the internet. Have fun. ;)
Over the last year I've been learning JavaScript + React (frontend) and TypeScript + Node.js (backend) for a side project. At times it's great because you can cobble together all these small modules to build something really quickly and other times.... everything gets updating so often and apis change.....oh I'm going to create a new project.... xyz module needs dependency abc...blablabla.
Also JS on the server is synchronous which is not natural for me to write it. I end up using async/await everywhere except for a few places.
So I've been thinking about to concentrating on a more stable eco-system so I can really master it. With that in mind, I've started learning Golang. Great if you're interested in web servers and distributed systems. It makes concurrency easy and it runs fast. Check out this post: https://grisha.org/blog/2017/04/27/simplistic-go-web-app/
For data you could use Python (#1) but I understand Golang is also a respectable in this arena but probably not the best.
For example Node.js is good for tiny Web Services/API endpoints using an event-based model. Elixir for writing highly concurrent systems.
Sure, both of these can be done with Java -- since it's a general purpose language, but the result with more focused languages is a more succinct solution.
For the past eight years, aside from dabbling on my own, I've been a .NET developer. I've worked in startups, agencies, and good-sized companies, and have delivered more projects than I can count. I've also given talks at user groups, and have delivered open-source tools. I wasn't an expert, but I'd say that I knew C# and .NET reasonably well.
However, I always felt a bit of imposter syndrome. While the .NET world is more open than ever, you still feel like you're an apple in an orange-infested world. Literally everyone else builds on Mac/Linux, and while the tools differ between languages a PHP developer would have more in common with a Python developer than they would with a .NET developer.
So, I left a senior role and took a standard dev role in a software house with zero .NET tooling, and have forced myself to learn different languages in anger, instead of restricting myself to only learning in my free time.
It's been hard, but I feel like I'm learning loads every day. I've also learned things I would've probably ignored if I was doing this in my free time, like Ruby and Rails. I still feel like an idiot most days, but I'm hoping that in the next few years I'll go from being a solid C¢ developer to a solid developer, and that alone will go a long way towards getting over that imposter hump.
So, my advice is to try and learn what you can on your own, but if you feel that you are better served by working with this tools "in anger" or around a team that really knows its tools then look for a job that both allows you to do this. Once you reach a point where you're comfortable in a language, move to something new, but keep that language to your free time.
Learning other languages increases the breadth and depth of your software development skills. You will start to understand the various commonalities between different toolsets, and learn new ways to improve code in other languages.
If you are having trouble with discipline, pick a project that restricts your language choice. Build a front-end web app using Javascript, or build an iOS app using Swift.
Master Java. What I mean is, learn how OO can be used to solve a problem. Learn why immutable classes were advertised as a best practice. Don't learn Java-isms. Learn why this language has certain features, and learn how to use those features. You'll be a master when you can take that knowledge and learn another modern OO language in a week, easy. For example, Python and Ruby should be easy to learn after that.
Learn a functional language afterwards - clojure, F#, Ocaml, Haskell. You'll feel naked w/o the OO backing. Master one of them.
After that, all the programming languages become roughly the same, all with their own -isms.
Distributed systems and data Engineering are not programming language specific - they are concepts that can be implemented in any language.
This has helped me to be quicker when picking up new languages or even frameworks. Because, well, nothing is ever really new, right?
(Note that I would not recommend this strategy to a complete beginner. You need something to compare what you are discovering to.)
As for recommendations, I would suggest you look at what kind of problem you're trying to solve. If you could benefit from the infrastructure something like Java EE provides you, choose Java or kotlin (those are mostly interchangeable). For scripting, choose bash or python. For client-side web stuff, JavaScript. And so on.
https://wiki.theory.org/index.php/YourLanguageSucks
You'll find something you like over the others. But it's all just syntax at the end of the day.
The real mastery is programming paradigms. Some languages lend themselves to particular methods and some just can't, or can't do some easily, but just knowing that is important too.
I believe there was a HN about this a while ago but I can't find it.
To be honest, I just try to build a couple of toy projects in whatever seems useful, and then I will try and build something professionally if I can a) get a client project and b) think its a useful/good fit.
As to the process, you're always better off with 30min a day rather than 2 hours on a Saturday. That's true for most things I've learned.
Specifically, I'd probably try and pick up Javascript, Ruby, or Python, as those seem to be the most portable to me. They also seem to be more widely adopted.
To really gain some knowledge out of learning a new language you should ideally cross boundaries to a new paradigm. The most commonly cited example now is Haskell, which is a fairly state-of-the-art language in terms of PLT research, and is a great illustration of the functional paradigm, due to its purity. The consensus among haskellers is that the code is much more concise + higher-level (case in point Xmonad being roughly 1/10th of the equivalent C software packages), much more type-safe and also easier to refactor etc. IMO, after I became productive in Haskell, programming in other languages seemed a bit like writing assembly (there's nothing wrong with assembly, in fact, optimising code down to cpu cycles was a favorite pastime of mine some time ago). Also, the boilerplate is much less significant compared to most other languages. (Case in point, again do the recent research in generics, GHC can automatically derive instances for various type classes. For instance, the most popular JSON package, aeson has the ability to automatically generate ToJson/FromJson classer for your types with no user code).
One downside of Haskell is that it may have a steeper learning curve, to really master it. Most of the reading will be from research papers and functional programming journals, but all this learning really does translate into a skill that pays off.
So my personal advice: if you really want to learn a new language, you should go with a different paradigm, e.g. Haskell if you're new to functional programming. But I would suggest instead just building stuff, and if you notice that your implementations are pushing your current language to its limits, see how other languages fare.
But IMHO, if you want to grow as a software engineer, you should just build stuff, build an operating system, build a compiler, build a database, build a web server, a game engine etc. You will cover far more theory and the learn more skills than just learning a new syntactic sugar.
What is PLT? I didn't recognize this acronym and it was too general to Google. Thanks.
But I think for most people, including me, having a good grasp of a "ground layer" of languages is the way to go. It just makes you more swiss-army-knife, it reduces risk, opens up opptys.
For me, the base languages are:
- C/C++: so you understand what happens under the hood, how memory is actually managed, how it can "leak"
- Javascript(+HTML): so you can write your webapps
- Python: useful on the server side, for data science, etc; the most useful overall probably
- SQL: to get data out of your RDBMS; many people don't understand how powerful SQL is and end up writing imperative code that could be replaced with 5 lines of SQL, so this is a surprising blindspot for many otherwise good programmers. Beware of anybody telling you SQL is not a PL or it's not useful. A lot of your life runs on SQL, you just don't know about it.
- Bash scripting: nobody actually remembers Bash, we just monkey our way to something that works :)
... and of course take some (sometimes entertaining) detours into Haskell, Prolog, etc. For me, the big blind spot is mobile development, so maybe +1 for that.
You have to engage with it for longer time and be forced to solve all the day to day problems you are going to have. So, learn by doing that. Just pick any modestly scoped project you are interested in doing and start doing it. Start with something not critical but still interesting enough that it is worth doing. I tend to avoid completely academic stuff. Then build on that.
In my case, I've been converting Java code to Kotlin for a few weeks now and am getting to the point where I'm comfortable with the language. Kotlin is of course the easy thing to pick up if you are doing Java since it is designed to be easy to make the switch. So definitely would recommend doing that provided your team is OK with that. It starts paying off pretty early in terms of reduced complexity and verbosity and extra type safety.
Rust is a bit harder but the only way to learn is by doing. I've been taking baby-steps there but it looks worth my time. There I've been reimplementing some OSS stuff I did years ago with an eye to reviving those projects. Progress is more slow because it is too academic. But rust has a lot of new idioms for me to wrap my head around before I can use it professionally so slow is not necessarily bad.
Isn't Java still the primary official language on Android?
Programming is mostly symbolic and mathematical. I love math and symbols. Fun stuff.
Making stuff for people is mostly, well, people.
Guess which one of these is more difficult?
You really learn a language when you're knee-deep in framework code, fuzzy requirements, conflict among stakeholders and the team -- and you've got to make something happen this week. Not when you're doing puzzles online.
Since you asked, in general if you feel like you've mastered an OOP language, I'd recommend going functional. F# worked for me because when I use F# correctly, the language/toolset helps teach me how to be more functional. Pure FP is always the goal, but you can do it in OCAML/F# and I don't think jumping right into something like Elixir or Haskell would have been as people-friendly. (Back to humans again)
In short, languages are great. Show me you learn a few. But that's 1%. 99% is people and problems. Show me you have lots of experience dealing with that while grokking out on the math and symbolic stuff and I couldn't care less which languages you know.
I have python in training plan as well, since it also has lots of 3rd party library and wide support from online community.
I like to keep my learning to a limited set of languages and not spend more time on learning.
For language recommendations, it depends a little on what you're ready for, what cognitive load you can take on. If you need to pace yourself, focus on one or two paradigm differences at a time.
Want to "dip your toes" without giving yourself a ton of cognitive load? Try doing some work in C# - being familiar with Java, you should be pretty comfortable with its idioms, and can ease yourself into functional thinking if you're not comfortable yet. JavaScript and Python are good choices if you need practice with dynamically typed, interpreted languages. JavaScript is pretty much necessary at this point. If you're dealing with Big Data(TM) you may want to look into a functional language. Haskell is probably a good choice there, but F# may be worth experimenting with as well.
As for evaluating the languages, Project Euler is good, but I've personally found Advent Of Code more helpful for learning. Advent gives you sample input/output that is perfect for setting up unit tests, and the problems are less math intensive so you can really focus on the new language and what idiomatic code and architecture looks like.
Good luck!
In my computer science master I got introduced to (in chronological order): Objective-C (+ Cocoa Touch), Python, JavaScript (+ HTML5 & CSS), Bash, a toy processor ISA, x86 assembly, C (handy when you know x86 :D), ES6 (+ ReactJS).
I might have missed one or two. The thing is, I don't understand why people ask questions regarding learning a new language. Why not read up on why people find it awesome (I do it via HN), and then choose your project, or checkout what your favorite company that you want to work at is using and get to work?
I feel I don't have issues with programming anymore. All I know is that I don't know a lot, but I know enough to make things, I need some time to get up and running. I also know that the majority of people don't know a lot but can self-learn themselves as well to make things. I feel the slides of CS50 really show to what extent programmming knowledge is transferable. Though CS50 doesn't show the quirks of any language too well (except C, perhaps).
I always ask myself: am I missing something? Am I arrogant or accurate (or both)?
Good programmers are aware that they never know enough but also that they have to get on with solving things and building stuff anyway. They spend their careers trying to get better and learn more, focusing particularly on what is most relevant to the problems that currently interest them.
Even interpreted languages like Python and Java have tremendous depth in their runtimes and design, such as JITs, memory management, and more.
Set a goal to learn as much about at least a couple of languages as you can, and you'll be able debug and understand programs much better. It will also ease your learning of new languages, because many of their features will fit into things you know already.
1. Ecosystem. You _will_ need help
2. Friendly (to you) syntax
3. Target to achieve (in your case, it would mean a language that is frequently used in distributed system/data engineering)
Regarding "I find myself going through the crazy articles comparing languages and lose focus and give up.", I hear you. I've been there. Pick two and run with them. Once you start learning a language, stop reading articles on what other languages you can be learning. There is always something better down the corner. That doesn't mean you lose focus and drop whatever you're doing midway. Persevere, and you will prevail.
Finally, my recommendation, based on your requirements would be
1. Python (for data engineering - numpy, scipy, tensorflow, pandas and whatnot)
2. elixir (for distributed systems)
Hope that helps. Good luck!
in addition to using Project Euler (which is maths-centric) to help learn language, you might enjoy Project Rosalind (http://rosalind.info/about/) which is bioinformatics focused.
If you want to learn something, Scala is awesome. It's a very complex language, so learning it will make you a better programmer, even if you won't use it.
For practical purposes I like Kotlin. But Scala is good here too. Kotlin just clicked for me, I like almost everything about it.
Clojure is a good introduction into Lisp family. I think it's worth to learn it too.
JavaScript is pretty crucial to learn no matter what your backend language is. Since your backend language can be JavaScript also, using node, you might want to focus on that. Php is where a lot of the freelance work is, and it's also one of the easier backend languages to get started in. I'd say once you're pretty proficient in fronted JavaScript and some backend php, then ask the question again maybe try some other language's backend.
1. Learn bash. It's the glue of the *nix world. It's not complicated but it's foreign enough that it's worth spending a few weeks really understanding.
2. Learn Javascript. It's the C of the modern era. Practically every piece of software in the world has to interact with Javascript, and the value of it is only increasing.
3. Learn C. It's the Javascript of the old world, and the foundation on which most of modern computing is built. If you need to get two things to talk to each other, the answer is usually C. Fortunately unlike its younger brother C++, it's a fairly straightforward language to learn.
I've been interested in Ruby on Rails from afar for ages but just this week I finally saw the light and got excited by how awesome it looks and have committed to becoming proficient in it. For me it's the excitement, the magic.
Perspective on existing knowledge will deepen with new knowledge gained, so theres always great benefits.
But for fundamentals, learn how a CPU actually works. Learn something like 6502 Assembly and make a game, or learn how a CPU emulator works for a game like Pac Man (take apart the source for MAME and then build it back up for just Pac Man).
At the end of the day, all of these fancy languages have to end up as 1's and 0's and run on an actual CPU. Too much abstraction can be a bad thing.
Might be what you're looking for, a quick way to asses the landscape.
As for mastery: yes, you need to be able to master at least one language, and plan to always master the language you are going to use the most.
If you want to create your own projects, you have so many choices here, but the safest bet is to use a popular solution - as a beginner it will be easier for you to get help.
So I would say: learn C!
All other languages should be avoided. Let the down voting begin.
as for how to stay focused, participate in a hackathon and build something using a new language. i find this helpful as it forces me to learn different features of a language. i don't like to learn a language by following tutorials which treat me like a baby learning to take its first step.
i have little idea about haskell, elixir, kotlin and scala, but here is some advice on the others: javascript: for web dev, interactive demos or quickly writing backend services python: writing scripts, backend for web dev, analyzing data swift: ios apps
I'll just say, pick something functional and something dynamic.
Then, for something that will get you to do a little bit more than euler, try using https://adventofcode.com/
Java was my first language, and i really only knew about object oriented programming. Learning to write functional code has really broadened my skillset
"Learn at least a half dozen programming languages. Include one language that emphasizes class abstractions (like Java or C++), one that emphasizes functional abstraction (like Lisp or ML or Haskell), one that supports syntactic abstraction (like Lisp), one that supports declarative specifications (like Prolog or C++ templates), and one that emphasizes parallelism (like Clojure or Go)."
then tried to apply what learned in production (at work) as soon as possible so I don't forget
The real question is not which language is the best but what is the language and libraries most used in the industry/field you want to work in? Figure that out then go deep.