https://github.com/chrispenner/advent-of-code-polyglot
Examples of "Advent Of Code" solutions in many programming languages.
https://github.com/chrispenner/advent-of-code-polyglot
Last synced: about 2 months ago
JSON representation
Examples of "Advent Of Code" solutions in many programming languages.
- Host: GitHub
- URL: https://github.com/chrispenner/advent-of-code-polyglot
- Owner: ChrisPenner
- Created: 2015-12-06T05:46:49.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-13T05:22:05.000Z (over 8 years ago)
- Last Synced: 2023-10-20T18:52:07.976Z (over 1 year ago)
- Language: Python
- Size: 353 KB
- Stars: 72
- Watchers: 7
- Forks: 34
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Advent of Code
==============This is a collection of [Advent of Code](http://adventofcode.com/) solutions in
many different programming languages.For the uninitiated, [Advent of Code](http://adventofcode.com/) is a series of
programming challenges, a new one is released each day until Dec. 25th.Each challenge requires thinking in a different way to solve it, and for this
reason it provides an interesting look at how programming languages approach
each problem.You'll notice that in any given situation, the idiomatic Python way of solving
something will be very different from the Haskell or Lisp way of doing things.Guidelines
----------- Create a Pull Request for any contributions.
- Feel free to put your name or website in a comment at the top of your
solution if you like.
- I won't merge any solutions until a few days after each problem is released
to allow the dust to settle, don't rush in making your PR's, it's not first
come first merged.
- The goal of the project is to see the most idiomatic way to solve each
problem in a given language, for this reason I will keep only the solution
which I feel best encapsulates 'idiomatic' code of that language. (Or will
defer to the community in cases where it is unclear)
- Please don't include your problem's 'input.txt' or solution, as these are
different for each person.
- Please put each solution (part 1 and part 2) into separate files (even if
there's a bit of code duplication) it makes it easier to figure out what's
going on.
- Solutions should be easy to read (even for people who don't know the
programming language), so include comments explaining your solution and any
interesting
- programming language tricks/idioms you're using.
- In pull requests please follow the established pattern:
- `year/language-name/day-num/part#.extension`Don't get too competitive about it, someone else's solution may be accepted instead
of yours, keep working at it and try to be as elegant and idiomatic as possible!Remember to have fun!!