How do you mentally handle going from writing managed to non-managed code?
        Posted  
        
            by Glenn Sandoval
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Glenn Sandoval
        
        
        
        Published on 2010-04-29T23:59:55Z
        Indexed on 
            2010/04/30
            0:07 UTC
        
        
        Read the original article
        Hit count: 264
        
~80% of the code I write is in C#. The other ~20% is in C++. Whenever I have to switch from C# to C++, it takes me quite a while to mentally "shift gears" to thinking in C++. I make simple mistakes using pointers and memory allocation that I would not have made when I was in university.
Is this normal? Does anyone else experience something similar and if so, what do you do to cut down on the time this wastes?
© Stack Overflow or respective owner