If you want to maximize number of jobs requesting a language you know, then I think they would be Java, C++, JavaScript.

But...you're looking at one variable: programming languages known, and this is an optimization problem with many variables, because what you are really trying to maximize is the employer's likelihood to make an offer.

Even within the coding skill set, the languages are only one part. The frameworks you know are arguably as important as the language. The build tools you know only a bit less important. If I only know Lit and it's a React shop, then I'm going to be a tougher sell than the guy with near-equivalent other skills.

But...you are likely not applying to positions posted as 'Wanted: Coder to sit in closet and write code to well-written unambiguous specs'. More likely, they are software engineer positions.

That means you need to find the right equilibrium point for you in the tradeoff space of the following:

- your hygiene

- your joy (if you do not love what you do, work towards doing something else, because life is just too short)

- your programming languages

- the frameworks you know in those languages

- the language specific build tools you know

- the language agnostic build tools with their own domain-specific languages (DSLs), e.g. Docker, podman, K8S, Vagrant

- your design skills

- your design documentation skills (writing, UML diagramming, whiteboarding)

- your communication skills (conversations, presenting)

- your computer science knowledge (algorithms, abstract data types, OOP, design patterns)

- your ability to work with others (how log can your drama-llama-ity go?, how well are you liked)

- your ability to mentor others

- your ability to receive feedback (constructive or otherwise) calmly, digest it, and act on it. Non-constructive feedback still comes from a pain point - find the pain point, turn it into constructive feedback for yourself (even if ultimately that's 'find another job').

Should you try to maximize all of the above across the majority of the total SWE job market?

No. First, you likely can't. Next, your focus will be so spread out that you will become the avatar of the concept 'Jack-of-all-trades, master of none'. That's not a compliment by the way, that was (and is) an insult. Finally, even if you could, your competition would be huge, the majority of candidates.

Be a tree when it comes to your technical skills. Find a niche that's popular and has been for several years (J2EE, React, Camel, Kafka, etc.) and make this your current trunk. Like a young tree, your trunk is thin. As you grow you will broaden what's in your base (rings on the tree), and branch into other areas that might not be in your base yet but you know them well-enough to work them if called upon to do so.

As for other skills...

Get good - dive into your chosen niche, code every day. Code a lot. Make stuff for free and release it Open Source. The interactions here will also help you with your non-technical skills. Spend time working on dev tools - the ones specific to your language, and Docker.

Get fast - Good is not enough. If your client wants an 80% solution in 2 months to get market advantage, and you deliver a 100% solution in 4 months... well, you may be out of a job. You can use programming competitions to help with this. Remember though, you get two: Fast, Cheap, Good. When you code on the job make sure you understand what your customer wants.

Get smooth - Join toastmasters. Mingle at Meetups, ideally presenting at them. Do semi-weekly podcast. Read Dale Carnegie. Take a course or two at the Center for Creative Leadership. Learn how to get along with people, how to take and give feedback.