Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
j0057
4 months ago
|
parent
|
context
|
favorite
| on:
Back dating Git commits based on file modification...
I think using pathlib instead of the more old-school os.walk and os.path.getmtime would clean that code up substantially!
simonw
4 months ago
[–]
I agree, and if I’d written this code by hand I would have used pathlib. I basically stopped caring as soon as I ran Claude’s code and it did the thing I wanted it to do.
sitkack
4 months ago
|
parent
[–]
Some updates, including using pathlib.
https://claude.site/artifacts/e7b11dfa-0ab8-46ed-97bc-5c1011...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: