Teaching myself to code slowly again, I find myself reverting back to hand writing certain functions to commit to memory or reference later, regarding spacing I use a method I learned from a great Professor from my intro to c++ a long time ago, using a sub script delta symbol to denote spacing. That said I agree with much of your assessment, trying to juggle learning multiple languages starts to get syntactically overwhelming depending on the language(s). Tutorial wise, it would be great to see a tool for IDE's that adds comment context when you mouse hover over a section/selection of code, UI might be a challenge in terms of making it non intrusive, but you could add your own context as well, like a personal wiki with edu link/git links and contextual examples, and analogous examples that work for each individual.