Giter VIP home page Giter VIP logo

overcomplicating's Introduction

๐Ÿคก Overcomplicating

Simple tasks in Java, just solved unnecessary complicated (and with bad code). This repository cleary shows HOW NOT TO DO IT!

๐Ÿงช Testing

Although this repo clearly shows how not to do things, we want to automatically test our code with unit tests. This also allows for easy testing while coding without needing to create a playground class.

You can run a test through your IDE or with the following command:

mvn test

If all tests ran successfully, a message like this should appear:

[INFO] Results:
[INFO] 
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------

๐Ÿ“ Javadoc

Documenting the code is also an important thing in development. You don't have to comment everything, but a brief description of your methods would be nice.

To generate the Javadoc Webpage, use the following command:

mvn site

You can then open the Javadocs in your preferred browser:

firefox target/site/apidocs/index.html

๐Ÿ‘ฅ Contributing

Contributions are always welcome! See CONTRIBUTING.md for more information.

overcomplicating's People

Contributors

lezurex avatar renovate[bot] avatar voxcrafterlp avatar z-100 avatar

Watchers

 avatar

overcomplicating's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/maven.yml
  • actions/checkout v4
  • actions/setup-java v4
  • actions/upload-artifact v4
maven
pom.xml
  • org.junit.jupiter:junit-jupiter-engine 5.10.2
  • org.mockito:mockito-core 5.12.0
  • org.apache.maven.plugins:maven-clean-plugin 3.3.2
  • org.apache.maven.plugins:maven-resources-plugin 3.3.1
  • org.apache.maven.plugins:maven-compiler-plugin 3.13.0
  • org.apache.maven.plugins:maven-surefire-plugin 3.2.5
  • org.apache.maven.plugins:maven-jar-plugin 3.4.1
  • org.apache.maven.plugins:maven-install-plugin 3.1.2
  • org.apache.maven.plugins:maven-deploy-plugin 3.1.2
  • org.apache.maven.plugins:maven-site-plugin 3.12.1
  • org.apache.maven.plugins:maven-project-info-reports-plugin 3.5.0
  • org.jacoco:jacoco-maven-plugin 0.8.12
  • org.apache.maven.plugins:maven-javadoc-plugin 3.6.3

  • Check this box to trigger a request for Renovate to run again on this repository

The code

If we want to write bad code, we also have to do the following:

Instead of using {
this
}

we have to use
{
this
}

Also. The whitespaces between parantheses and statements need to be cleared(something)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.