Skip to content

Conversation

@ZachSinger
Copy link

It's all gravy baby


public static String getRange(int start, int stop) {
return null;
String res = "";
Copy link

@Git-Leon Git-Leon Jun 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

violation of DRY principle.
Please make call to the relative template method.

Method definition suggestion 👇🏽

public static String getRange(int start, int stop) {
    return getRange(start, stop, 1);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants