class Developer {
constructor() {
this.name = "Dennis";
this.role = "Fullstack Developer";
this.languages = ["de", "en"];
}
greet() {
console.log(`Hello, my name is ${this.name}, I'm a ${this.role}. Nice to meet you! :)`);
}
learn(programmingLanguage) {
console.log(`I'm currently learning ${programmingLanguage}. It is so much fun!`);
}
}
const me = new Developer();
if(youCanReadThis) {
me.greet();
} else {
me.learn('C#');
}
Pain of discipline < Pain of regret.
“To live is to risk it all, otherwise you're just an inert chunk of randomly assembled molecules drifting wherever the universe blows you.”
— Rick Sanchez