88 karma · joined January 13, 2021
Incidentally, Ruby has a similar problem for self-learners.
Shell scripting, e.g. dev ops? Ruby for me, Perl for complex regular expressions.
Web development? This depends.
High performance environment? Golang, C.
Basically, the care where Python is called for is the scenario where it offers a library you absolutely need, not anywhere it’s definitely the best language for the job, because it rarely is.
You should really consider using linters as a teaching aid. They help a lot, and would indeed catch the problem you noted about js.
As for teaching JavaScript’s pain points... that’s not really how I operate. I’d rather they know the general rules and come across edge-cases when they’re in a position to solve them, rather than overload them with information. Automatic semi-colon insertion is powerful enough to get you through several large-scale projects, so there’s essentially no point to discuss it prematurely as anything but a curiosity, “this could be a gotcha, so keep your code clean”.
Finally, comparing the error linters in VSC for Python versus javascript, especially if you //@ts-check... I think JavaScript actually does a better job.
Another good candidate is golang.
I’m going to think on that one a bit more.
I also don’t give homework. If you want to learn on your own, you can, but homework is a massive crutch that I don’t think benefits most people.
It has substantial pain points, the most significant in my opinion being the semantic white space that never really ever stops being a problem.
JavaScript runs in the browser, has relatively trivial syntax, no semantic white space, C-like, a superior and more useful GUI, etc.
I see no reason to teach Python per se unless people request it.
It was a turn of phrase. The good money is a good bet, i.e. I think a tenable and wise position would be to believe what I do, but understand if you do not and recognize my own propensity to be wrong.
As for the name, I felt immediately that it was significant because I knew Russia wouldn’t stake so much national pride on it if it was a dud. Indeed, the evidence coming in seems to suggest that it isn’t, so I feel doubly confident in that assessment.
That’s all.
All we can do is see how this shakes out.
The Sputnik name and the glowing data we’ve heard about it.
Besides, it’s not like you can trust big pharma only if has a Western brand slapped on it. Some of the worst drugs, possibly all of them (that I’m aware of), came from us.
I don’t look at the keyboard to type with two fingers (and my thumb, technically).
I can probably sustain 120 effortlessly. 130-140 if I’m comfortable.
I’ve been doing it for nearly two decades and haven’t had a problem.