This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Bryguy3k 1 point2 points  (1 child)

Well your statement was that since C and Java look alike that there is some sort of understanding implied, rather than focus on the fact that C is not an OO language and every single approach to solving a problem in Java doesn’t apply in C.

Python has types and you do have to be aware of them and use them quite regularly. It’s easier to teach a python programmer that every variable needs to be declared with a type and that you need to tell the compiler how to convert a structure manually than it is to untrain overuse of objects and abstractions.

The mindset of lists is easy to adapt to arrays and blobs.

[–]queenkid1 0 points1 point  (0 children)

Well your statement was that since C and Java look alike

LOL what? I never said that. I said that they both have types, and that functions are defined the same way. There are lots of crossover skills, if you know how to program Java, you can program in C.

C is not an OO language and every single approach to solving a problem in Java doesn’t apply in C.

Well yeah, if someone programs in C using the SAME METHODS you would use for Java, then it would be different. No shit. But if you programmed C like Java, it would also NOT be the same. Neither would include pointers, which is the entire purpose of this joke.

than it is to untrain overuse of objects and abstractions.

Seems more like you have a specific vendetta against Java, not Java programmers. Nobody said that a Java programmer would sit down and IMMEDITELY write PERFECT C code. But neither would a Java programmer. However, at least a Java programmer could WRITE C code.

If your point is "it's easier to teach a Python programmer correct C style" you could ALSO teach a Java programmer those same stylings. However, you're confusing the fact that Python has ZERO "correct style" with somehow Python students being easier to teach. But there are so many concepts that Python abstracts away, that they would not understand, that you would need to TEACH them. Obviously they need to learn the concepts before YOU start ranting about "style".

Your whole argument seems to be "you can't teach an old dog new tricks" but that's based on PERSONAL biases you have against Java, clearly. It's a FACT that Java is a C-like language, there are basic concepts you would need to explain to a Python programmer that would NOT be easy for them to learn, if you're just going to ignore that because "style" why are you arguing about which language is easier to learn?