What are advantages and disadvantages of considering arbitrary functions from a subset of $\mathbb{R}$ to $\mathbb{R}^n$ rather than classically defined paths (that is functions from a connected subset of $\mathbb{R}$ to $\mathbb{R}^n$)?
In other words, why many mathematicians have chosen when they define paths to consider only functions from a connected subset of $\mathbb{R}$?
What results do not generalize nicely to unconnected subsets of $\mathbb{R}$?
One such result is that a function with zero derivative is constant. But we can replace "constant" with "locally constant" and pass.