Coder Social home page Coder Social logo

adventofcode2020's Introduction

AdventOfCode2020

This is my 2020 submission for AdventOfCode.

I very much follow the following rules while creating code:

  • first make something that WORKS
  • then make it PROPER
  • then make it FAST

For AdventOfCode of course "WORKS" is good enough, so most code is just garbage giving the right answer.

Also, I did this in Rust where I'm not overly skilled in. Most code looks very weird due to elaborate fights with the borrow checker. Some code looks okay from the outside, though. My main purpose of doing this excercise is learning, which i did a lot. I did try to properly comment the code for when I'm reviewing this in a year, or for the lost soul who actually reads this.

You can run this yourself by cloning the repo, going to the dayX folder and run "cargo run" in the root of the dayX folder. Please first install Rust of course (and cargo with it). It's pretty self-explanatory. I practically did a "cargo new dayX" for every new day. No fancy challenge build system, I'm too lazy to make such a thing (and I do not have the time).

If you are a corporate recruiter and are impressed by this code while you were searching for a Rust programmer, and you have te urge to contact and contract me, please don't. I'm doing this for fun. Go away. If you are a recruiter and aren't at all impressed by this code and still want to try and hire me, then please A) let your mental health examined by a professional or B) you are one of those clueless internet headhunters. Please both types, go away also. I can't facilitate professional mental health threatment and I'm not what agressive idiotic headhunters are looking for.

That aside, if you are an amateur programmer like me and you like Rust and like participating in challenges where people who properly can code are attending too, just do the Advent of Code and inspire yourself on my clumsy attempts.

adventofcode2020's People

Contributors

basdusee avatar

Watchers

 avatar

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.