Fastest Programming Language to Learn?
Let's say you met someone, who for whatever reason is going in for a whiteboard interview in a month.
If you had to suggest they learn a programing language, what would you pick ?
I'd go with Python, although JavaScript is a very very close second.
17 comments
[ 408 ms ] story [ 1476 ms ] threadIf you throw package management into the mix then the whitespace disadvantage of python is more than offset by pip.
I would also consider ruby or lua as good first starts.
Of the popular languages I'd say python or ruby, where python is probably easier to pick up. I hate saying that because I'm very partial to ruby.
I wouldn't say javascript is fast to learn. It's a popular language and will be with us for many years to come. The hard part is avoiding the many traps, a skill which requires time to learn.
Stay with the basics and don't make the mistake of trying to learn everything. You can't and you won't in a month.
If you aren't given a specific language, I would pseudocode the solution. Once you get a handle on pseudocode writing you can use it for all your whiteboard tests.
https://towardsdatascience.com/pseudocode-101-an-introductio...
Agree with the psuedocode part though.
Easy to code many day-to-day algorithms.
I essentially taught myself JavaScript in a month or so, but I was going at it 8 hours a day
I’d say Java or Python. Both languages are simple enough that you can focus on the whiteboard problems and not worry about the language itself.
It’s so easy to declare record types. They’re just hash tables that can be extended with either properties or member functions.
let person = { name : “Tim”, age : 27 }
How much easier can you get?
For “you can pick this up without knowing much about what you’re picking up” Python is almost certainly up there. JavaScript is a good choice because it’s ubiquitous but it’s a minefield and will be for whiteboarding.
To be honest I think the question is not setting the hypothetical interviewer up for success. They’d be better off learning relevant domain knowledge about the work they might be doing, and focusing on being prepared with good questions and generally explaining how they think through problems. They can use any language of their own imagining to express that on a whiteboard. If the interviewer wants something closer to real code that’s already a bad sign that they’re asking the wrong questions.