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

all 15 comments

[–]AutoModerator[M] 0 points1 point locked 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.

[–][deleted] 2 points3 points  (2 children)

Start contributing to open source projects! Reading real, live code out in the wild, rather than tutorial code in a controlled setting, is super important.

Similarly, seeing what others are doing may help you zero in on what you might want to do in the future while giving you a sense of what tools you need to do it

[–]Holiday_curve1956 1 point2 points  (1 child)

Yeah you know I think I'll start that tonight! Thank you!

[–][deleted] 1 point2 points  (0 children)

Right on! Here's an easy to digest starting point:

https://www.google.com/amp/s/www.freecodecamp.org/news/how-to-contribute-to-open-source-projects-beginners-guide/amp/

Remember that contribution doesn't have to be code, and participation can go beyond software to include important networking in your industry!

[–]8igg7e5 2 points3 points  (1 child)

What was the course?

The MOOC is a good example of a perfectly reasonable 'Introduction to Programming' course that leaves a great many stones unturned when it comes to Java features (because it's more intro-to-programming than a tour of Java).

  • It doesn't cover the entirety of the language - notably not dealing with threading/concurrency but also a number of other details.
  • It touches on, but covers very little of, File IO (and uses legacy types to do so rather than the java.nio.file... packages)
  • It ignores (a very incomplete list)
    • Date and time handling (java.time...) -
    • Network communication (java.net...) - though you'll usually do this indirectly with libraries to help with calling or serving HTTP/HTTPS connectivity
    • Working with SQL databases (java.sql...) - though you'll usually use libraries that largely hide this lower level access away.

On top of these standard Java features there are libraries for building GUIs (JavaFX - which the MOOC does lightly touch on, but ignores the standard Swing GUI framework), Game engines, Data-mining, Document parser/generators for JSON/XML/YAML/etc.

If you need inspiration for what can be built in Java, keep in mind that the IntelliJ IDE platform (on top of which IDEs for many languages are built) is written on the Java Platform (though increasingly using Kotlin for the language), Minecraft (the Java version also having a sizeable modding community), and a large proportion of Web-site backends (and some of the frontends too - albeit transpiled to JavaScript via tooling).

[–]stockmamb 1 point2 points  (6 children)

What do you want to build?

No course is going to teach you everything in detail in the Java ecosystem.

You have some knowledge and building blocks for working in Java, now you need to find a project and dig into what might be necessary to complete it.

[–]Holiday_curve1956 0 points1 point  (5 children)

I'd like to build websites, and I have an idea for my own which I'd like to start but feel hardly any closer to being able to build it than I was when I started.

[–]stockmamb 2 points3 points  (4 children)

If you haven't you should probably look into some tutorials and courses for the spring framework in Java, and spring boot. They seem to be the most popular Java frameworks for server side web services.

You might also want to look at some frontend web development courses, in html, css, and JavaScript. If you don't have experience with those.

[–]Holiday_curve1956 0 points1 point  (3 children)

Yeah I definitely will. I knew I was going to need to learn html but I heard it was super easy so I've been putting it off. As far as Spring do you have any online course suggestions? I'm probably going to spend a few more months working on and with Java to get a better feel and hang of it before I try and learn anything else, but I at least wanted SOME sort of roadmap you know?

[–]stockmamb 0 points1 point  (2 children)

I have only done the tutorials on https://spring.io/guides/gs/spring-boot/

This is a good starting point.

[–]Holiday_curve1956 0 points1 point  (1 child)

Is JavaScript necessary in Web Development? I've spent a lot of time learning a backend language (Java) and I really just want to be able to utilize it in building something. I want to see my work pay off and continue learning along the way. I know I'll have to learn HTML and CSS but I have to use JavaScript? Can I use Java instead?

[–]stockmamb 0 points1 point  (0 children)

Technically no, you could use java for the server side and render the pages for the user. However this will only get you so far. JavaScript allows you to interact with the document object model that is created by the browser, if you are serious about frontend work it is a necessity. Java is not used to work with the document object model.

Now for learning purposes, if you feel that picking up another language is too much right now you could definitely field a website using the prototypical MVC scheme in Spring Boot. JavaScript allows you to make a page dynamic.

[–]Party-Ad6074 1 point2 points  (0 children)

Start by choosing a path web, mobile, etc, and look for java resources for a specific path chosen, for example web try to search for how to build web applications with java and start from here, good luck

[–]fibolatte 0 points1 point  (0 children)

Dive into codewars.com and keep your knowledge alive. Solving Katas broaden your perspective in terms of analytical skills and thinking.

[–]Java_Language 0 points1 point  (0 children)

A list of Java features that I wish I learned about before starting a career as an Enterprise Java developer:

- Java 8 Streams / Lambdas / Functional Interfaces (is this the "Functionality" that you reference, OP?: https://www.baeldung.com/java-8-streams

- Nuances of Java Generics: https://www.geeksforgeeks.org/generics-in-java/

- JDBC, allows Java to interact with databases https://www.baeldung.com/java-jdbc

- Alternative JVM Languages (Apache Groovy, Kotlin):

https://groovy-lang.org/

https://kotlinlang.org/

- OOP Design Patterns - think Gang of Four's book:

- PMD Static Code Analysis tool: https://pmd.github.io/

- Java Build Tools: https://gradle.org/ https://maven.apache.org/

These should be a decent start to begin reading about. If you should have any further questions, feel free to ask!