Closed Ewan10 closed 3 years ago
It would also be worth updating the name of the file to include the .java
extension. This allows tools like Github to recognise what language it is and do syntax highlighting automatically.
It would also be good to use the standard Java project layout: https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
You might want to look at using Maven to build the project. This should be a good place to start: http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html
One more note for now: it would be worth updating your comments. The long dashes aren't really necessary. This page has some sensible guidance for good coding practices generally and for commenting specifically: https://www.baeldung.com/java-clean-code
It would be good practice to run some basic formatting and linting on your code. Here's a bit of an intro to how you could do some of this with VS Code: https://code.visualstudio.com/docs/java/java-linting