3 ms·
Last time I looked about file IO it involves calling out to some Java class that I had no clue about as I don't use Java. All the doc of the time just assumed y
by 7thaccount 2y ago
Last time I looked about file IO it involves calling out to some Java class that I had no clue about as I don't use Java. All the doc of the time just assumed you should be able to figure this all out.
Edit: it's been like 5 years
- andrewflnr 2y agoThis was my experience too, at about the same time. I should really dig back into it at some point.
- fulafel 2y agoThe docs are better now (eg https://clojure-doc.org/articles/cookbooks/files_and_directories/ https://clojure-doc.org/articles/cookbooks/files_and_directo... ) but you still need to follow a Javadoc link every now and then for the full story. Alternatively you can use a library such as https://github.com/babashka/fs https://github.com/babashka/fs . I agree with the GP that you don't need to know any Java.