[showoff Saturday] I got hooked on Advent of Code and wanted it all year, so I built a site that gives everyone the same coding challenge every day
![[showoff Saturday] I got hooked on Advent of Code and wanted it all year, so I built a site that gives everyone the same coding challenge every day](https://external-preview.redd.it/3nCQRU0EK_w6XF_IL59G_HKsu7q6LmvmpWXGdEumjP0.jpeg?width=640&crop=smart&auto=webp&s=c95a7ef4c2f8cc839bcf64089401f08293d8b62d)
| Every December I do Advent of Code and every January I try to keep the habit going on LeetCode. Never lasted more than a week. Too many problems, no reason to do this one today. So I borrowed the idea and built Daily Coding: one challenge a day, the same for everyone, all year. You solve it in the browser, hit run, and the tests execute in a sandbox in well under a second. 11 languages so far (JS, TS, Python, PHP, Ruby, Java, Go, C++, C#, Rust, Swift). Once you submit you can read everyone else's solutions, which for me was always the best part of AoC. Streaks and a leaderboard if you like that sort of thing. Some honest numbers: I started in January, 7 months of evenings, about 470 commits. There are 40 challenges right now, so the rotation repeats after 40 days until I add more. Someone on Discord asked for Swift last week, that took a day to add because the sandbox already had it. It's free, non-profit, open source under MIT. You can solve today's challenge without an account, signing up is only for streaks and rankings. What I'd love to know: does one challenge a day work for you, or do you want to pick? And what would make you stop after a week? Site: https://daily-coding.dev/?utm_source=reddit&utm_medium=post&utm_campaign=sideproject-launch [link] [留言] |
原文:https://www.a8q9.cn/en/article/en-showoff-saturday-i-got-hooked-on-advent-of-code-and-wanted-i.html