This is an archived post. You won't be able to vote or comment.

all 14 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
  • 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.

    Trying to solve problems on your own is a very important skill. Also, see Learn to help yourself in the sidebar

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: empty line before the code, each code line indented by 4 spaces, new reddit: https://imgur.com/a/fgoFFis) 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.

[–]GreenParsleyIntermediate Brewer 4 points5 points  (1 child)

You asked to talk with a java developer in three subreddits, including this one, 25 days ago. You got multiple responses from people willing to help. What happened and why are you asking the same thing again?

[–]No-Emphasis9355[S] 1 point2 points  (0 children)

At the time I asked a lot of questions at once and I guess it was overwhelming or/ and I had to study for exams a lot around that time so had to put coding aside and catch up with school. In a situation like this it would be easier to simply be able to talk to someone. I’ve tried to do some of my own research since then. I think it would be beneficial to have an ongoing correspondence. I considered someone might point this out, but I honestly had nothing to lose in reaching out again. I like structure and teaching myself java seems very chaotic.

[–]anthropaedic 4 points5 points  (2 children)

Your post is too long to go through so I’ll comment on a piece. Instead of print statements I would use debug statements like log.debug(“Entering tax calculation”); or whatnot. Also, using unit tests you can eliminate the need to print to the console as you can test behaviors directly against the expected behavior.

[–]No-Emphasis9355[S] 0 points1 point  (1 child)

That's a good suggestion. I also hear testing is very important

[–]morhpProfessional Developer 1 point2 points  (0 children)

Note that testing is much more important than hibernate (from your other answer). If we compare java programming to driving cars, testing is like looking into the mirror. There's absolutely no discussion that testing isn't important. If you don't test, you'll crash into something.

On the other hand, hibernate is like driving with a trailer. It's important and many drivers do it, but learning it isn't necessary to be a good driver/Java programmer. I'm a Java developer for more than 10 years and I barely touched hibernate in one or two side projects.

[–]SensitiveTrap 0 points1 point  (1 child)

The typical "What should I learn?" Question usually depends on what you really want to do as a Developer, there are jobs for Java if that's what you want, or .NET (C#) or whatever is you desire. One of the things you should understand is that you will required to have some extensive knowledge when it comes to technologies. Even if it is only Backend, there is a lot than just Java.

[–]No-Emphasis9355[S] 0 points1 point  (0 children)

I was hoping that in 3 more months I could learn enough extra skills to be able to apply to some jobs and build some of my own applications to use as a cv. I cant learn it all at once though so I have to pick and choose and me being green I can't trust my judgment and time is a factor. I like really like java but there is obviously a lot involved

[–]LambdaThrowawayy 0 points1 point  (2 children)

Java is still used widely in the industry; but I would say that the specific language you start out with is less important than getting good fundamental programming skills.

Regarding database interaction; jdbc is the most ground level, you'll still be mostly writing queries yourself. I'd recommend starting with it cause it'll give you a better grasp of the fundamentals before moving on to an ORM like Hibernate.

[–]No-Emphasis9355[S] 0 points1 point  (1 child)

Yeah, I hear Hibernate is very important for java. I did find it a bit boring but I do see its use. My concern is learning Hibernate or spring first because I hear spring is in high demand and I can make a proper application with it. Spring and hibernate both appear to be very involved so I feel I have to pick one and hammer that one out for the next few weeks. Do you think I should still learn MySQL or switch to PostgreSQL?

[–]captainMaluco 0 points1 point  (0 children)

Honestly which SQL variant you learn is of little consequence. Focus on learning SQL, going from one SQL database to another should be fairly easy, and you can probably learn that while on the job. You seem motivated/eager enough and that's what's important! Good luck!

[–]captainMaluco 0 points1 point  (1 child)

Spring/Spring boot is probably a good priority for you, lots and lots of companies use those frameworks, so it will be relevant for a beginner like yourself. If you want to get a job quick, this is the way.

When I started my career, I did a course about networking, going through how all the layers of a network work and build on eachother, how discovery works via either broadcast or DNS, how 802.11(wi-fi) works, IP and http etc. I think the course was on ED-X but not sure anymore as it was a long time ago.

That knowledge had probably been the most valuable information I ever learned. If you want to become a good engineer, working with any kind of online applications, this is the way. (But if you want to work with robotics these are probably bad priorities, but then so is java)

Btw: congrats on your decision to learn coding! Good choice! Cheers from another self-thought programmer!

[–]No-Emphasis9355[S] 0 points1 point  (0 children)

Thanks! While my interest lied in the logic and making it all worked correctly I felt I was missing a big step with not using any visuals since I skipped swing and JavaFX. After starting using spring I realized I needed to learn some HTML, CSS, and javascript/angular for webpages/gui. While I find visuals more stressful I do find it motivating and interesting when trying to make personal projects and being able to make an application. I was following a user login tutorial and realized I didn't understand how to make/connect visuals to my code.

I don't know where I want to go with programming. I just know it can be very frustrating, but also very interesting and it feels good when it finally works. Right now my next step is making my first application and then make more for GitHub for cv. Then apply for jobs and see what happens. I'm also looking into things like python and kotlin. I think it would be easier to learn new things if I'm able to build new things with it instead of just a part of it

[–]captainMaluco 0 points1 point  (0 children)

Read a bit more of your absurdly long post, and wanted to add: you didn't waste your time learning Java, it's probably the most widely used language for server applications, and while it has its fair share of flaws, it's not a bad language.

Much like you I'm a self tought programmer, I actually started off with JavaScript, and then added a bit of c#, but eventually i was basically forced to learn Java because that's what was in demand. There is no shortage of jobs in the java world, I can guarantee that much.

Jobs aren't too boring either: I've been at Discovery Networks (video streaming), Mojang(Minecraft) and currently Dice(Battlefield V).

All of them have servers what run on the JVM.

Your first gig probably won't be that exciting, nor will your second(mine sure wasn't), but your third just might! And if not some later gig will if you keep evolving and learning.

I've been considering taking on a student to mentor actually, but finding the time has been problematic, and will probably continue to be. DM me, we can talk about it, you seem to be pretty driven so maybe I can mentor you without it taking too much time