Ask HN: Is Java a wise career investment?
Hello,<p>I have been working for close to 2 1/2 years as a Java developer, and seeing all the job postings on HN as of late, I have been wondering if it is wise to keep learning and investing in Java or if I should consider broadening my horizons by learning other programming languages(I have dabbled a bit in Python and Ruby so far).<p>Since this question is quite dependent on geographic &#38; economic context, I will provide some more detail. I am living in Romania, and have no plans of relocating. Currently the local job market has a lot of Java openings since enterprise clients from Western Europe are sending their projects to us to reduce development costs. How long this trend will last is quite uncertain, and this makes me wonder if Java is a worthwhile investment.<p>I have been considering starting to freelance but Java doesn't really seem to be the language in demand. The same goes for doing remote work for companies from outside my country.<p>I will also mention that I have a CS degree, so I know the universal theory behind programming like OOP, design patterns, algorithms etc.<p>So, in conclusion what would the kind people here at HN recommend? Sticking with Java, or switching to some more in demand language?