3 ms·
> learning Java will also introduce you to the C-like family of languages Aren't Java and C, different family of languages?
by Garbage 16y ago
> learning Java will also introduce you to the C-like family of languages
Aren't Java and C, different family of languages?
- masklinn 16y agoJava is part of the C family of languages, you can draw a pretty straight line between C++ and most of Java's features (or non-features, or lacks of features).
- uriel 16y agoMany C programmers would argue that C++ does not belong to the C family of languages.
- wtallis 16y agoThe basic grammar and syntax are pretty much the same, as are most of the fundamental data types and their behaviors, and many other things. There are obviously a lot of differences, but if you know one language it usually isn't hard to read well-written code in the other language.
- leon_ 16y ago> as are most of the fundamental data types and their behaviors Don't ever tell that any C-novice coming from Java. Or you will have fun with interesting array constructs or functions returning pointers to variables created on the stack, etc.
- JoachimSchipper 16y agoAlthough a Java translation of a C program still looks C-ish, I agree; idiomatic Java is very different from idiomatic C. (This is not surprising; Java is intended to be "C++ done right", and idiomatic C++ is rather different from idiomatic C.)
- pedanticfreak 16y agoI think he means C-style syntax rather than C family of languages. Java certainly is made to read like C and C++ more than anything else even if it is very different under the hood.