I'm a currently studying to be a Software Engineer. Right now i'm learning Java. My dream is to live a peacefull life working in tech.
I like reading, listening to music, and drinking matcha 💚.
"sometimes we all need to "sudo pacman -Syu"
struct Carlinux {
name: String,
hobbies: Vec<String>,
happy: bool,
location: String,
}
impl Carlinux {
fn currently_doing() {
println!("Living the moment ^^");
}
fn name(&mut self) {
self.name = "Carlos".to_string();
}
fn hobbies(&mut self) {
let hobbies: Vec<String> = vec![
"Programming".to_string(),
"Excercise".to_string(),
"Walking".to_string(),
"Playing".to_string(),
"Reading".to_string(),
"Writing".to_string(),
];
self.hobbies = hobbies;
}
fn happy(&mut self) {
self.happy = true;
}
fn location(&mut self) {
self.location = "México".to_string();
}
}