News for hackers. Stuff that matters.
Re:Clojure Web Development Evolved [video] by Barrin92 on Saturday July 30, 2022 @01:07AM (#32284421)
not the OP but this struck home for me because I just recently worked with Clojure and I was surprised that there was no standard library to deal with filepath operations. Having to use Java's nio, immediately exposed some weirdnesses, like having to pass an empty array to Paths.get() because just calling it with a string with one parameter made it chose the wrong overloaded function.
Re:Clojure Web Development Evolved [video] by jhhh on Saturday July 30, 2022 @01:36AM (#32284523)
Vararg support in interop and type creation (deftype/defprotocol) seems like a reasonable ask.
Re:Clojure Web Development Evolved [video] by lenkite on Saturday July 30, 2022 @01:48PM (#32288765)
Re:Clojure Web Development Evolved [video] by didibus on Saturday July 30, 2022 @04:37PM (#32290049)
You can type hint to pick the one of the type you're looking for. It's not any weirder than in Java, no need to pass an empty array.