Code Monkey home page Code Monkey logo

AYO WADDUP CODING IS KINDA EPIC NGL

reptudn

reptudn

 reptudn

Totally not serious piece of code
public class Woman : Human
{
  int balance = 5312;
  Man boyfriend;
  bool isSimple;
  string name;

  public Woman(string name) { this.name = name; this.isSimple = false; }

  public void GetBoyfriend(Man bf)
  {
    this.balance -= man.balance;
    man.balance -= man.balance;
  }
}

public class Man : Human
{
  int balance = 69420;
  Woman girlfriend;
  bool isSimple;  
  string name;

  public Man(string name)
  {
    this.name = name;
    this.isSimple = true;
  }

  void GetGirlfriend(Woman plsBeMyGfUwU)
  {
    if (Math.random() < 0.1) Talk(plsBeMyGfUwU); // Error: Man has no Function called Talk (Probably he is too scared to talk)
    else WalkAway();
    throw new ScaryException($"{this.name} is scared either way");
    plsBeMyGfUwU.GetBoyfriend(this); // Error: Unreachable Code detected!
  }

  // ...

}

public class Main {
  void Main()
  {
    Man man = new("Johnson");
    Woman woman = new("Your mum");
    try {
      man.GetGirlfriend(woman);
    }
    catch (Exception ex)
    {
      Debug.Log("Getting a Girlfriend failed!");
    }
  }
}

Jonas's Projects

ast icon ast

This is for me to learn to write an ast in easy in python to later use the knowledge in other languages and projects

born2beroot icon born2beroot

This project aims to introduce you to the wonderful world of virtualization.

controller-control icon controller-control

A tool to use your controller to comfortably use your caontroller as keyboard and mouse

core-visualizer icon core-visualizer

A visualizer for the CORE game built in Godot including a Discord Rich Presence and Replay System

fdf icon fdf

All programs that you wrote until now were executed in text mode on your terminal. Now, let’s discover something more exciting: how to open a graphics window and draw inside? To start your journey in graphic programming, FdF offers to represent “iron wire” meshing in 3D.

libft icon libft

Lib for 42 with libft, get_next_line, printf and lots of extra utils functions

minishell icon minishell

The objective of this project is for you to create a simple shell.

minitalk icon minitalk

The purpose of this project is to code a small data exchange program using UNIX signals. It is an introductory project for the bigger UNIX projects that will appear later on in the cursus.

osu icon osu

rhythm is just a *click* away!

osu-rpc icon osu-rpc

enhanced osu! rich presence for discord!

philosophers icon philosophers

Eat, Sleep, Spaghetti, repeat. This project is about learning how threads work by precisely timing a group of philosophers on when to pick up forks and eat spaghetti without dying from hunger.

push-swap icon push-swap

This project involves sorting data on a stack, with a limited set of instructions, and the smallest number of moves. To make this happen, you will have to manipulate various sorting algorithms and choose the most appropriate solution(s) for optimized data sorting.

pwned icon pwned

Checkes on have i been pwned if given email adresses have been leaked and sends u a ntty.fy and a discord webhook message

reptudn icon reptudn

Config files for my GitHub profile.

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.