Hey everyone! I'm a full stack developer with around 4 years of experience primarily in PHP and JavaScript. I want to improve my salary, but finding a new job has been tough lately due to the current market conditions. I'm debating whether I should invest time in learning Java and focus on data structures and algorithms (DSA) for the next 6 months to a year in hopes of making a jump in my career. On the other hand, should I just dive deeper into PHP and specialize in Laravel since I really enjoy web development? I recently tried Spring Boot but got frustrated with it, and it seems like the Java courses always start really basic, covering concepts I already know. So, should I give up on PHP and make the switch to Java, or stick to what I know?
4 Answers
Focus on growing your skills as a developer, rather than tying yourself down to one specific language. Improving your problem-solving ability and understanding design patterns will benefit you in the long run. Good experience will open up new opportunities for promotions or job transitions.
Your skills in PHP and JS are quite valuable, and Laravel continues to have a good job market. Transitioning to Java might take a lot of time to feel competitive. Instead, consider enhancing your JS skills with frameworks like React or Vue, which are in demand right now. If you still want to explore Java, perhaps start with smaller projects like REST APIs instead of getting bogged down with Spring Boot right away.
Investigate the job market demands in your area, attend meetups if possible. Spring Boot can be quite challenging to learn if you dive in without a strong Java foundation or understanding of design patterns first. Consider building up those skills before jumping into Spring Boot. Check out resources like roadmap.sh for guidance.
Thanks for the tips! I’m working remotely but would consider moving for better job opportunities. Still, it feels like there’s more demand for Java than for PHP these days.
It’s important to focus on depth over breadth in your skills. The industry values expertise, so honing your current skills will likely lead to better salary outcomes than trying to become a jack of all trades. If you're already solid with PHP and JavaScript, becoming highly proficient could help you justify a pay raise.
Yeah, I get that! I hesitate to ask for a raise too, especially at a non-tech company that has let people go unexpectedly. I feel underpaid and I'm willing to move but interviews are hard to come by, and I don’t even know DSA.

I totally relate! I love web development with PHP, and I’ve been frustrated with Java's complexity! Plus, I have experience with React and Vue, and I run my own agency focusing on custom WordPress solutions. The DSA interview prep does throw a wrench in things.