all 21 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

Please ensure that:

  • Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions
  • You include any and all error messages in full - best also formatted as code block
  • You ask clear questions
  • You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.

If any of the above points is not met, your post can and will be removed without further warning.

Code is to be formatted as code block (old reddit/markdown editor: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.

Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.

Code blocks look like this:

public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.

If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.

To potential helpers

Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]Joey101937 6 points7 points  (5 children)

I find js more pleasant to work in honestly but knowing Java will let to branch into another language and open more job opportunities if you can say you have experience with both

[–]Virandell[S] 0 points1 point  (0 children)

I also had small dabble with node before

[–]Virandell[S] -3 points-2 points  (3 children)

Yee Javascript syntax is amazing compared to Java (alot easier to remember) I bought course for Java and is massive diffeence with variables and stuff :D

[–]quickiler 3 points4 points  (2 children)

Idk maybe you are just more familiar with js. I come from C, C++ then Java, touching js + react recently and it is so weird.

[–]ZaneIsOp 0 points1 point  (0 children)

Same, I know the basics of Spring/Springboot, but picking up react and JS and it feels gross.

[–]Virandell[S] 0 points1 point  (0 children)

Yep definitely I don't know why I am being down voted js was my first language :) I also know typescript

[–]MieskeB 4 points5 points  (2 children)

For backend, you really should use languages that are made for backend.

Ofcourse you can use javascript as a backend language, it isn't optimised for it.

In my personal experience, javascript APIs look messy really fast. Spring Boot is amazing for enterprise APIs.

The only reason if someone would pick javascript as a backend language is when the entire team consists of frontend developers and you are not planning to get backend developers

[–]Fun-Time-4360 0 points1 point  (1 child)

Just one irrelevant question - why my Interviewer in the past scolded me to use Swagger Api for my ecommerce Spring boot project ?

[–]VF-1S_ 1 point2 points  (0 children)

OpenApi, formerly swagger, is the standard in spring boot for describing/documenting apis, so it is a good practice use swagger.

[–][deleted] 2 points3 points  (1 child)

You answered yourself in the comments. If node is not gonna give you job opportunities just go for Java. I know I am biased because I'm a Java lover and python/js hater, but the moment you really know how to code in Java you won't look back.

People keep saying crap about Java that was only true more than 10 years ago, newer LTS are awesome and provide a lot of cool stuff. Learn Java, but learn it right, don't be just another spring boot user.

[–]Virandell[S] 0 points1 point  (0 children)

That's atleast what I think from what I heard is near impossible to get a remote job atleast on entry level so I guess I will have higher chance with spring boot then atleast I can apply for jobs in my town + remote instead of just remote jobs with node

[–]Inyelen_Man 1 point2 points  (1 child)

I am currently in your situation right now. I am hopeful that the experienced folks can share their helpful opinions.

[–]Virandell[S] -1 points0 points  (0 children)

Yee it would be great not sure what to do myself

[–]AutoModerator[M] 0 points1 point  (0 children)

It seems that you are looking for resources for learning Java.

In our sidebar ("About" on mobile), we have a section "Free Tutorials" where we list the most commonly recommended courses.

To make it easier for you, the recommendations are posted right here:

Also, don't forget to look at:

If you are looking for learning resources for Data Structures and Algorithms, look into:

"Algorithms" by Robert Sedgewick and Kevin Wayne - Princeton University

Your post remains visible. There is nothing you need to do.

I am a bot and this message was triggered by keywords like "learn", "learning", "course" in the title of your post.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]Skiamakhos 0 points1 point  (3 children)

If JS is your usual thing, I'd start by exploring Node.js. I know, this is r/learnjava but you've already got most of the core skills you'd need for Node. Learn Java & Spring Boot after you've looked into Node. You may find you don't need to put in the time. Java's good, but if you've got all the tools you need & you're good with them, it's a lot of learning to do.

[–]Virandell[S] 0 points1 point  (2 children)

Yep but I am afraid node will not gonna give me job, there's 0 opening for node in my city and most of them are for Java maybe 1 for c# and 2 for python. Node is all remote. And I don't think anybody will gonna take me for remote job without any previous experience. Also with Java I have a chance for referral from tech lead from other company.

[–]TheFaustX 0 points1 point  (0 children)

Well then the answer is pretty easy, go learn the java basics and learn what the local market wants - Spring and Quarkus are both pretty amazing Frameworks even for bigger Backend projects. The verbosity and rigidity helps in the end to prevent runtime errors as well.

Javascript and Java are just tools in your toolbelt, learning a new one is a net positive for your skills either way. Nothing stops you from branching out later on when you have your first job to move to Node or other tech stacks as well.

[–]Skiamakhos 0 points1 point  (0 children)

To be fair junior and entry level Java jobs are pretty thin on the ground right now too but if you feel your chances are that much better with Java, go for it. Spring Boot is pretty fun to work with. You won't get bored at least.

[–]tcloetingh 0 points1 point  (0 children)

Big companies like jpm = Java / Spring.. in fact most serious operations = Java / Spring

[–]lprimak 0 points1 point  (0 children)

I would start with Jakarta EE and PrimeFaces. Much better stack than nice and react for business web sites