Last active
June 3, 2022 13:17
-
-
Save championswimmer/ad303ac8f29be4374c0609a788b771ae to your computer and use it in GitHub Desktop.
refactor-intro-code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
██████╗░███████╗███████╗░█████╗░░█████╗░████████╗░█████╗░██████╗░ | |
██╔══██╗██╔════╝██╔════╝██╔══██╗██╔══██╗╚══██╔══╝██╔══██╗██╔══██╗ | |
██████╔╝█████╗░░█████╗░░███████║██║░░╚═╝░░░██║░░░██║░░██║██████╔╝ | |
██╔══██╗██╔══╝░░██╔══╝░░██╔══██║██║░░██╗░░░██║░░░██║░░██║██╔══██╗ | |
██║░░██║███████╗██║░░░░░██║░░██║╚█████╔╝░░░██║░░░╚█████╔╝██║░░██║ | |
╚═╝░░╚═╝╚══════╝╚═╝░░░░░╚═╝░░╚═╝░╚════╝░░░░╚═╝░░░░╚════╝░╚═╝░░╚═╝ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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