One of the challenges that theme and plugin developers have to face is making sure that their code works regardless of the directory in which their project is installed.
Case in point: for the past couple of weeks, I’ve been working on a number of WordPress-specific projects each of which features some heavy client-side functionality.
The challenge is including the required JavaScript files regardless of where the theme is installed.