The following are not nootropics:
* Modafinil and Armodafinil
* Adderall (Amphetamine)
* Caffeine
* Kratom
* Nicotine (this is a border case, in my opinion)
* Selegiline
Stay away from the above, unless taken very occasionally, if you value your health. Drugs like these rapidly build tolerance and become a liability in the long run. If you insist on using stimulants such as amphetamine, learn about how to reduce tolerance with things such as NMDA antagonists and take things to prevent neurotoxicity.
He should also get on with trying Noopept - it's one of the best nootropics of recent times.
From experience, anybody who is a programmer or does similarly demanding intellectual work will stand to benefit from learning about and using nootropics. They're not a silver bullet but quite a few of them are most certainly effective.