While sticking to one tree is clearly not a good strategy, staying with it for a couple of techs can be. Often I find that I might as well get, for example, a few weapon upgrades in one go and be able to use that benefit rather than doing it in dribs and drabs and not actually being able to do anything with that slightly smaller gun.
It really depends a lot on what you want to achieve at any given time. Obviously that largely depends on the game situation, but you can also have fun with a kind of "grand strategy" decided before the game which will tend to lean towards a particular area of expertise.... you might decide to play heavily focused on starbases, therefore researching ahead in this area will give you the leverage in the game to actually use those bases accordingly. Or on the other hand, you might have an already specialised race and you need to improve upon the skills they are lacking.
Choosing your techs is equally part of the strategy as any other element of the game..... but I also admit to finding those "1 turn" techs difficult to resist for long!!