🛠️ Working in software development since 2020.
🔬 Specialized in TypeScript and its ecosystem (JavaScript, Node.js, Express.js, Nest.js, React.js, Vue.js, Angular.js, Next.js, among others).
⚡ Experience in complex projects, with strong knowledge of databases, servers, APIs, systems integration and software architecture.
🧳 Skilled in collaborative environments and agile methodologies, always seeking innovation and efficiency in processes with the objective of delivering scalable solutions in high-performance environments.
class Person {
name: string;
career: string;
alive: boolean;
regreat: boolean;
food: string;
time: number;
constructor(name: string, career: string, alive: boolean, regreat: boolean, food: string, time: number) {
this.name = name;
this.career = career;
this.alive = alive;
this.regreat = regreat;
this.food = food;
this.time = time;
}
eat(): void {
console.log(`Drink ${this.food}`);
}
sleep(): void {
console.log(`Rest for ${this.time} hours`);
}
code(): void {
console.log(`${this.career} always building badass softwares`);
}
repeat(): void {
let consequences = { xp: 2, bad: "Learn from mistakes", good: "Ready for more" };
this.regreat === false ? consequences.xp++ : consequences.xp--;
switch (consequences.xp) {
case 1:
console.log(consequences.bad);
break;
case 3:
console.log(consequences.good);
break;
default:
break;
}
}
life(): void {
while (this.alive) {
this.eat();
this.sleep();
this.code();
this.repeat();
}
}
}
const dev = new Person("Raphael", "Full Stack", true, false, "coffee", 3);
dev.life();