I disagree and I don’t really see how they’re connected.
I disagree and I don’t really see how they’re connected.
There's been a few posts on HN that I remember which could be summarised as "I made this cool and useful thing, but I'm worried I'll be criticised because it's not polished enough. Should I just throw it away?" That's the "worry too much" view.
This is stopping me from actually making any meaningful progress on some other challenges in the codebase. (pushing boundaries)
And for the actual problem: is drawing a card actually move with a source and destination?
/player1/draw
/move/player1_deck/to/player1_hand
I keep getting hung up on the fact that move feels “more right abstractly” but now the move endpoint has to know about _all states_ to know if the move is valid.
There was no testing framework capable of testing my latest JS library so I built my own; but here's the catch: the testing framework for the library is bootstrapped by the library itself, necessitating building a large amount of the functionality before getting CI in place.