6
iamroot
5y

I switch back and forth between js(Vue) and Java and get them mixed up a alot which slows me down because I have to look up conventions. Any tips on managing multiple Lang's mentally

Comments
  • 5
    You get use to it over time.

    I generally have to switch between PHP, Java, Python and JavaScript on a daily basis, all's different projects as well, being able to context switch with ease is a difficult thing.

    If possible, use different coding styles between the two, this will at least train your brain in having something to seperate them apart.
  • 1
    @C0D4 thx I'm trying different ide color schemes rn to see if that helps
  • 1
    @iamroot could work if you only open specific files in the right place.

    I guess it depends how you seperate things that matters and stick to it.
  • 0
    I have to keep switching between c#, vb, vb .Net, javascript and occasionally python or php. Even if you get used to it, you'll keep wondering why a semicolon is an error sometimes, until you realize you are in a different language. But I do believe is positive to expose yourself to different languages
  • 0
    I open Java files in IDEA and nearly everything else (JS, Reason, Bash) in VSCode and never had that problem.

    To me, everything looks different enough to mentally switch between them.
  • 0
    Use a different theme in the IDE. Brain will make connections
Add Comment