Is it appropriate to compare a programming language to another programming language while learning one? Say for example, in my case, I'm learning C# but I know a bit of java. I noticed that the syntax is almost similar and so in my head, for every thing I try to compare C# with java, is that correct to do so?