Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I like re-implementing things too! But usually there's a pretty clear difference between "I'm doing this deliberately differently from established-solution X for reasons Y and Z" vs "I'm doing an unrelated task and am using urllib because I'm blindly copying in SO solutions from ten years ago and have never heard of Requests."
For an example from my own code— I was learning Rust via AoC a few years ago, and I deliberately chose to do some of the challenges with natural language inputs using Pest rather than just dumb regexes [1]. The regex solution would have almost certainly been shorter and quicker for this limited task, but I would have no trouble justifying this design choice to an interviewer as having been an intentional learning experience.
[1]: https://github.com/mikepurvis/advent-of-code/blob/master/202...
I publish as much as I can, and deliberately so. Not so much for internet points but because:
1. It forces me to write a README. No matter how small the project, I afford it an introductory paragraph, installation instructions, usage instructions, and a license. Doing that all the time helps build good habits. If it hurts, I’m not doing it often enough. Doing it often enough helps overcome resistance one day when it actually counts.
2. I contribute something back. It’s not exactly curl, but who am I to judge whether my project will be too trivial to be useful for others? I prefer to leave that decision up to the visitor.
3. Future me is going to get a README for free a couple of years down the road, when the details are long forgotten.
Example: this repository [1] is for a 50-line Bash script [2].
[1]: https://github.com/claui/aws-credential-1password
[2]: https://github.com/claui/aws-credential-1password/blob/main/...
Related posts
- 3 years of fulltime Rust game development, and why we're leaving Rust behind
- Apnic: Cgnat is harming internet innovation (2022)
- Fyrox Game Engine – a Rust game engine with a real editor and scripting system
- Voronoi, Manhattan, random
- CrabGrab: new OSS Rust crate for cross-platform screen/window capture