Computer Science

<p>I am currently a computer science major (with no intention of changing it) but it is so strange to me because I have already had a C++ class, which was great, I enjoyed it and I felt like I was a natural at it and struggled very little. Yet, here I am, in the first java class and it is so difficult and the syntax is so similar! Especially for these basic (relative) assignments.
Note: We code in putty to VPN to a UNIX server and code in vim. (Gross!)</p>

<p>Just looking for any input as to why it's so different.</p>

<p>My only thought is the huge difference between the classes (two different colleges):
The C++ class we were in front of a computer, and we did a problem every day, and had a homework assignment.
The Java class is taught by a PhD, who I feel has a hard time teaching the information and is really lax on due dates.</p>

<p>Well, I’m in a very similar situation. I also learned to program in C++, and am now sitting through Java. However, I’ve had the opposite experience as far as the difficulty goes: I have a sub-par professor but since almost all of the syntax is just like C++ the class has been easy for me.</p>

<p>What exactly is difficult about the class? Are you having a hard time actually writing the code, or is the problem with getting the compiler/virtual machine to cooperate? How advanced is your class? Are you doing simple stuff like accepting text input and printing to the screen, or complicated multi-class programs?</p>

<p>Honestly, I’ve been trying to figure it out, I am having a hard time writing the code mostly though. And the programs are somewhere in the middle, we have done some multi class programs, but most aren’t that difficult. Although there is one monstrous program that I am thoroughly stuck on.</p>