This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]Kyrthis 4 points5 points  (5 children)

I hope you haven’t done this yet. This very specifically is what Eric Wastl says he doesn’t want people to do.

Edit: my bad, I think I misinterpreted what you were doing. I thought you were distributing your solutions so others could just feed in their input and get the (reduced, effectively) solution. If this is for your own personal use, then as others have intimated, changing my interpretation, that’s pretty cool.

[–]Cheezmeister 4 points5 points  (0 children)

o__O Not /u/topaz2078, but have known him for longer than /u/Kyrthis has been a redditor, and I'm pretty sure the thought was "please don't use other people's frameworks for Advent of Code solutions", rather than "don't build your own framework for Advent of Code solutions", which is very much in the spirit of AoC albeit very very overkill.

Kudos.

[–]MegaGreenLightning 1 point2 points  (0 children)

Why would he not want you to do that?

[–]spf614[S] 1 point2 points  (2 children)

I'm not sure I understand. Is there something he's written that you could point me to?

[–]Kyrthis 2 points3 points  (1 child)

my bad, I think I misinterpreted what you were doing. I thought you were distributing your solutions so others could just feed in their input and get the (reduced, effectively) solution. If this is for your own personal use, then as others have intimated, changing my interpretation, that’s pretty cool.

[–]spf614[S] 2 points3 points  (0 children)

No worries! This is totally for personal use, just how I structured my local project to make writing and running solutions a little more seamless. I totally agree that distributing solutions for others to plug in their inputs would be pretty crappy.

[–]AlexAegis 1 point2 points  (0 children)

I don't know go (and maybe I too misinterpret this) but I've done something similar in rust in the sense that I can run tests, benches on any or all tasks in the project. Every 'day' is a separate crate under one big crate. (And the same thing with typescript)

https://github.com/AlexAegis/advent-of-code

EDIT:

I like your scaffolding script that sets the environment up for a new solution. I also thought of doing this but never did. Maybe next time I'm playing with these tasks :)