Giter VIP home page Giter VIP logo

hw-20150320's People

Contributors

rosmaryfc avatar

Watchers

James Cloos avatar  avatar

hw-20150320's Issues

Code Review

Overall, very good job.

You document your code really well and have consistent formatting. I provided a more detail break down for each homework question:

Divisor Pattern Art

Great job. Very well documented and clean code.

One thing I want to point out is that you have capitalized N on L23. Generally, you capitalize your variables if it is a constant and in this case it is not since we are getting user input so it should be lower case.

Twenty Questions Game

Great job! Very well documented and clean code.

A Pretty Title

Great job, your program produces the correct output.
There is one small code formatting inconsistency on L33... In all other instances of using if-else, you have the { on the same line as else.

It is a good habit to document your code with comments but the comments should be meaningful and help explain complicated code... Some of the comments in this program are not necessary. For example, the comment at L42 is not needed since it is already clear what System.out.println() does.

Another example of a comment that is not necessary is L50. We already know functions/methods contain code that does something.

A more appropriate comment for functions/methods is to summarize what they do. So a comment like:

// The underline method prints a character (i.e.: *) under each letter. 
// Returns an underlined String pattern
public static String underline(...) {
    ...
}

Fibonacci

Great job! Very well documented and clean code.

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.