Hey everyone! I've been programming for about a year using Python, which really helped me get a handle on understanding programming flow. I recently started working on a web project using Python on the server side and JavaScript on the front end. However, I'm finding it tough to grasp certain aspects of JavaScript compared to Python, especially with all its nuances.
I'm more interested in creating applications than websites. The idea of "write once, run anywhere" sounds super appealing to me since I frequently work on Windows, Mac OS, and Android. I'm not really into data science or AI, so I'm questioning whether I should keep Python as my main focus.
Do you think switching to Java for application development would be a big challenge? I've heard it's a bit long-winded, but I've noticed some similarities with Python. I'm really not keen on the areas Java is popular for, so I'm unsure if it's worth it to explore this path further. Thanks a lot for your insights!
4 Answers
Honestly, the idea of "write once, run everywhere" was great back in the day, but now Python has really stepped up and works across all major platforms too. If your heart is set on both desktop and mobile apps, sticking with JavaScript might be your best bet since it can run in the browser and supports frameworks like React Native for mobile app development.
Consider giving Kotlin a shot instead! It has a more sensible syntax than Java. I spent years writing Java and honestly, I can’t see myself going back. I might be a bit dramatic, but I’d suggest seeking advice from seasoned developers who have tried multiple languages—there’s a reason they often have strong opinions about their experiences!
Lol, I get what you mean! Those long class definitions can really stick with you! But hey, at least we made it through, right?
Are you talking about Java or JavaScript? Just making sure, because those are two very different languages!
In my opinion, Java is pretty similar to Python in many ways, though it does have a steeper learning curve. The syntax might be a bit more complicated, but both languages share core programming concepts like object-oriented principles. Java can be a challenge, but it's well-structured, unlike JavaScript, so you'll have a solid foundation once you get the hang of it.
I can totally relate! I was neck-deep in Java from the late '90s to the 2000s, and just thinking about it gives me flashbacks. I was involved in all sorts of Java community stuff back then and it still haunts me! It's a tough ride for sure.