Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Related Rants
> using rust
> tries to read some files from a directory
> writes 200 lines, commenting them out and trying things
> losing steam in caring
unexpected complexity
you could do this in like 5 lines in most languages
(I'm trying to sort by extensions and then convert to json and not make it look ugly all at the same time, so some aspects may not be as first assumed)
there's too many random methods that you think will do what you want but they do not
such strange people
rant
files
rust