Skip to content

Instantly share code, notes, and snippets.

@championswimmer
Last active June 3, 2022 13:17
Show Gist options
  • Save championswimmer/ad303ac8f29be4374c0609a788b771ae to your computer and use it in GitHub Desktop.
Save championswimmer/ad303ac8f29be4374c0609a788b771ae to your computer and use it in GitHub Desktop.
refactor-intro-code
██████╗░███████╗███████╗░█████╗░░█████╗░████████╗░█████╗░██████╗░
██╔══██╗██╔════╝██╔════╝██╔══██╗██╔══██╗╚══██╔══╝██╔══██╗██╔══██╗
██████╔╝█████╗░░█████╗░░███████║██║░░╚═╝░░░██║░░░██║░░██║██████╔╝
██╔══██╗██╔══╝░░██╔══╝░░██╔══██║██║░░██╗░░░██║░░░██║░░██║██╔══██╗
██║░░██║███████╗██║░░░░░██║░░██║╚█████╔╝░░░██║░░░╚█████╔╝██║░░██║
╚═╝░░╚═╝╚══════╝╚═╝░░░░░╚═╝░░╚═╝░╚════╝░░░░╚═╝░░░░╚════╝░╚═╝░░╚═╝
@Builder()
class SoftwareEngineer {
boolean solvesDSA;
boolean designsSystems;
boolean buildsProjects;
}
public static void main (String[] argv) {
var sde = SoftwareEngineer.builder()
.canSolveDSA(true).canDesignSystems(true).canBuildProjects(true)
.build();
hire(sde);
}
class SoftwareEngineer {
boolean solvesDSA;
boolean designsSystems;
boolean buildsProjects;
}
public static void main (String[] argv) {
var sde = new SoftwareEngineer();
sde.solvesDSA = true;
sde.designsSystems = true;
sde.buildsProjects = true;
hire(sde);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment