If you're talking about programs, most, if not all, of the programs that work for Windows 7 and Windows 8 should work on Windows 10.
If you're talking about the Metro apps with Windows 8, some of them do not actually work in the Windows 10 Insider Preview according to some people, but that could easily be a fixable bug. Most will probably work by the time of Windows 10's release.