I have a diametrically opposite experience instead.
For me taking notes is most of the time harmful.
If I need to document something it is much better to write a confluence page so everyone in the team can access it.
While I'm coding taking notes breaks my flow of thoughts and I lose the momentum.
Obviously I do write schematics or structures of the components on which I'm working on, but I don't consider that note taking, it is really part of the designing process and at the end the architecture will go in any case in confluence.
Last but not least, I noticed that if I can just read some note easily I don't commit that information to my long term memory, so paradoxically, writing notes actually harms my memorisation process.