Mistakes I've made treating file paths as strings
It bugs me about how long I’ve manipulated paths as strings without having a failure, but in the last couple of months things have broken in Ruby and Node projects. So I wrote about the issues I’ve faced and how we should approach path names to avoid them (TL;DR use the standard lib Pathname
and File.join
in Ruby).
Post a comment