The title is about R&D, but because of Section 174 changes, this applies to all software development, whether "research" or not. If you're making a dumb app, you can't deduct the expenses (including salaries), you have to capitalize them. It's brutal for a small company.