I had given an answer on SO, the question was concerning a problem with a relative path. My answer was to use an absolute path, which I thought seemed simpler. The asker claimed to need a relative path, but I couldn't tell why.
It seems reasonable that if you know to go to ../../../foo/bar/
, then you would also know to go to /home/willie/foo/bar/
.
I can't think of a situation which requires relative paths except in a build script. Are there others I'm not thinking of? Is it bad practice to use one or the other in any situation?
Sorry if this question is off topic, all my googling yielded was how to use them rather than why.