Giter Club home page Giter Club logo

fizzbuzz's Introduction

  • This is my first time programming in Java, so I did some things differently than I would with a language and tools I'm more familiar with.
  • I'm not sure exactly what is meant by 'Upload as a separate project' as it could either be a difference in package, repository or something I don't know. I'm just going to build it the way I normally would.
  • In case you wanted to run the code at specific points in time (different steps), there is a git pull --unshallow link that I have not tried before, but might work. Also, I made a separate branch for step 2.
  • I was confused as to how the array of integers would be passed, so I just went with the default implementation of an array of strings that could be ints. With more information I could implement exception messages or type checking. I assumed arguments would be passed as strings from the command line.
  1. Step 1 commit was done without Maven, I was just using command line and IntelliJ IDE. Therefor, the two paths to fizzbuzz from the root directory are not attached to a project in the sense they don't have a POM file. These can be deleted, but I thought maybe you would want to see them. More details are here.

    I understand how the pom file is important to configuring microservices, so before the second step, I followed: https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html

    Here are the changes before step 2.

  2. Step 2 | commit, I just copied the code from step 1 into the new Maven project (my-app)

  3. Step 3 | commit

    • I'm not sure if the 'output' is the return value or the side-effect (log). Both are possible, but implementation is different. I'm going assume it's the log, since machines wouldn't be able to read reports very easily. Further, to have it in the right order (oneline for array, then the report) I'm going to ask the project manager if it makes a difference to the end user.
    • The hashtable works, but there is something wrong with the test, where it is only showing the integer. More familiarity with java would help, but it could be it could be something with the testing framework too, since the correct string is printed just before the return. It could be that I'm passing multiple integers with a space as a delimiter. This is something I would document and bring up in code review, it's documented in issue #3.

    Final Result

    Output from step 3

fizzbuzz's People

Contributors

sprintup avatar

Stargazers

 avatar

Watchers

 avatar  avatar

fizzbuzz's Issues

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.