Giter VIP home page Giter VIP logo

@{ Hello World } Codewars

Genius is a fickle beast. Sometimes you have the good fortune to work with a mad genius. Other times you are doomed to work with pure madness. There are also times when it is hard to tell the difference.

I talk to machines. I solve problems. I code. ♥️

  
 struct Human {
  name: String,
}

impl Human {
  fn new(name: String) -> Self {
    Self { name }
  }

  fn display(&self) {
    println!("Name: \n{}", self.name);
  }
}

struct Programmer {
  human: Human,
  title: String,
  stack: Vec<String>,
  languages: Vec<String>,
}

impl Programmer {
  fn new(name: String, title: String, stack: Vec<String>, languages: Vec<String>) -> Self {
    Self {
      human: Human::new(name),
      title,
      stack,
      languages,
    }
  }

  fn display(&self) {
    self.human.display();
    println!("{}", "\n");
    println!("Title: \n{}", self.title);
    println!("{}", "\n");
    println!("Stack:");
    for technology in &self.stack {
      println!("· {}", technology);
    }
    println!("{}", "\n");
    println!("Languages:");
    for language in &self.languages {
      println!("· {}", language);
    }
  }
}

fn main() {
  let programmer = Programmer::new(
    "Muneeb Rabaney".to_string(),
    "Snr. Software Engineer".to_string(),
    vec![
      "Bun".to_string(),
      "Node".to_string(),
      "React".to_string(),
      "DotNet".to_string(),
      "Laravel".to_string(),
    ],
    vec![
      "C".to_string(), 
      "C#".to_string(), 
      "SQL".to_string(),
      "PHP".to_string(),
      "Bash".to_string(),
      "TypeScript".to_string(),
    ],
  );
  programmer.display();
}
Coding

Connect With Me

https://za.linkedin.com/in/muneeb-rabaney https://stackoverflow.com/users/4433536 i.am.he.who.codes

profile for White Rabbit on Stack Exchange, a network of free, community-driven Q&A sites
amplify    apachecordova    aws    azure    babel    bash    bootstrap    chartjs    csharp    css3    docker    dotnet    electron    express    figma    gatsby    git    graphql    gulp    html5    illustrator    ionic    java    javascript    jenkins    laravel    linux    materialize    mongodb    mssql    mysql    nextjs    nginx    nodejs    photoshop    php    postman    puppeteer    react    reactnative    redux    sass    sketch    sqlite    symfony    tailwind    tensorflow    typescript    vagrant    webpack   

muneebrabaney
  

0xeⲖ7's Projects

awesome-shell icon awesome-shell

A curated list of awesome command-line frameworks, toolkits, guides and gizmos. Inspired by awesome-php.

ball-game icon ball-game

React Native animated ball game written using Expo API

bases icon bases

Hosts TSConfigs to extend in a TypeScript app, tuned to a particular runtime environment

calypso-client icon calypso-client

The admin UI for the calypso content management system built with ReactJS

coc.nvim icon coc.nvim

Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.

css-reset icon css-reset

This is a CSS stylesheet that will reset all of your html elements to its default state so that theres no interference with simple UI elements

dicebear icon dicebear

DiceBear is an avatar library for designers and developers. 🌍

dropkick icon dropkick

A JavaScript plugin for creating beautiful, accessible, and painless custom dropdowns.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.