Earlier quoted context omitted.
Yes, javascript has some quirks. But most bootcamps are trying to get their students from "zero to employable developer" in a very short amount of time, and "employable entry-level developer" is almost always synonymous with "employable entry-level web developer". Given that mandate, you basically have to teach people the basics of web applications, which means talking about what happens on the client, which means ja…
Better yet would be Ruby. It's much more beginner friendly and is a thoroughly consistent OO language—i.e., everything is an object, including numbers and strings. Ruby's also got a much better web dev story, which is good for junior devs (without ML and/or infrastructure backgrounds) who are looking to enter the market. After learning Ruby, either JS or Java could be a great 2nd language.
> It's much more beginner friendly and is a thoroughly consistent OO language—i.e., everything is an object, including numbers and strings.
This sort of thing occurs to you and me and makes sense because we have a broader understanding of software engineering. In practice, I just don't think "everything is an object" means much to someone who's a month into a bootcamp.