Earlier quoted context omitted.
In Java, you can store an object in an array and then modify that object in both the array copy and the one you have in a regular variable because Java works by reference, not by copy. LOL. In what language does array assignment result in a new copy of that data structure rather than a reference of it? http://en.wikipedia.org/wiki/Array In computer science an array[1] is a data structure consisting of a group of elem…
I don't mind downmods on political subjects (too much), which are matters of opinion to a degree. But when I correct somebody's laughable mistakes, please either correct me in writing or leave it alone. Thanks.
Java in College: "You might as well be teaching Chinese to a monkey."
51–60 of 145 posts
Re: Java in College: "You might as well be teaching Chinese to a monkey."
#52Diagnosable mental defects aside, I refuse to believe that there exist students who genuinely want to learn Java with a private tutor who understands the student's mental model of the world. Students range from couldn't-care-less to passionate, not from stupid to smart.
Wow, I never thought of it that way, but it really makes a lot of sense.
Re: Java in College: "You might as well be teaching Chinese to a monkey."
#53I've noticed this with higher-level concepts too. There are people who simply can't grasp the concept of a mind that doesn't work like a human mind. There are people who simply can't grasp various levels of meta-thinking - like the distinction between metaethics and object-level moral decisions. You can keep trying to point in the direction of the meta-level but they just can't look in that direction, like they're in…
Then by continuing to study, and thinking about things, eventually I was able to see it, and it started to integrate itself into my thinking. It's almost like I can feel my brain being rewired.
I think that what's required is enough exposure and determination to reset some neural connections and eventually the idea will integrate itself into you.
Re: Java in College: "You might as well be teaching Chinese to a monkey."
#54I don't believe that programming is something you need to just get. I've seen a lot of people struggle on assignments like these as a TA. Usually, it's that they're missing certain concepts, but they don't know which ones and they can't debug themselves. If you know 70% of basic Java, you won't be able to create a working solution. You'll get tripped up on a type mismatch error that just makes you bonkers until you g…
I had an interesting expereience a while ago where I helped a friend doing a website. There was a backend involved where he would have to type some numbers into a table (how much of x, y, x... do you need when you are a certain age). I spent hours trying to explain to him why he couldn't just draw a graph on the screen, like he would on a piece of paper, and let the computer find out what the values were. He simply didn't get the basic concepts behind it and thought that the computer should easily be able to see the graph and decide what to do. He thought that is should be just as easy to draw a graph on screen and get the numbers from there as entering numbers manually.
It became apparent that he just didn't think sequentially and logically. Notions like if x is larger than y and y is larger than z then x is larger than z were extremely difficult for him to grasp. He isn't stupid by any means, he simply thinks about the world differently. And he would never get even a simple program to run no matter how much he tried.
Re: Java in College: "You might as well be teaching Chinese to a monkey."
#55Earlier quoted context omitted.
My first day of programming in college I read the syllabus and told the teacher I'd already done everything on it. They let me switch to the next class.
My "Introduction to Programming" course I did at Uni dealt with Ada shudder and I remember the very first things they were trying to teach were how to open, close and save files under Windows. I played Quake 3 for first 2 weeks during that class while I waited for something of actual use.
Re: Java in College: "You might as well be teaching Chinese to a monkey."
#56Several people in the blog comments have cited the “camel has two humps” paper, which still hasn’t made it through peer review. There have been some failures to replicate the study. Perhaps their results were an artifact of the authors’ teaching style, i.e. they were just terrible at teaching, so the students who entered the class without knowing the material failed? I’m very skeptical of results that claim that some…
"I’m very skeptical of results that claim that some large fraction of the population is incapable of some mental feat like programming. 500 years ago the same was thought of reading, writing, and arithmetic." Exactly. At birth we are basically no different from someone born 100, 500, 1000 years ago. People in the past we not stupid. In fact, the giants who's shoulders we stand on now are from the past. This isn't to…
How many hours a week did you study German in college? I think children growing up in Germany typically study it about 70 to 90 hours a week if their parents are foreigners, or 110 hours a week otherwise, and it takes them about six or seven years to reach a high level of proficiency.
By contrast, an acquaintance of mine studied Mandarin Chinese only 40 hours a week as an adult (22-year-old I think) for six months, and then spent the next several years transcribing and analyzing intercepted Chinese telephone conversations 40 hours a week for the next couple of years, thereby achieving a native level of proficiency.
So my alternative hypothesis is that kids learn languages well because they try really hard for tens of thousands of hours, while adults rarely do.
Re: Java in College: "You might as well be teaching Chinese to a monkey."
#57I can sympathize with the author. I "got" programming and generally found it rather easy (in college, I would look at some random student's code and just point out each bug; used to drive the random student crazy when I did that). But there was one class I took, Unix Systems Programming (all in C). It was a higher level course with prerequisites of data structures (by that time in college, taught in C) and compiler w…
Re: Java in College: "You might as well be teaching Chinese to a monkey."
#58Earlier quoted context omitted.
I don't mind downmods on political subjects (too much), which are matters of opinion to a degree. But when I correct somebody's laughable mistakes, please either correct me in writing or leave it alone. Thanks.
I am pretty sure it was your tone.
System.out.println("Hello world");
...in fact, this is well organized. "System" is a namespace. "out" is a static variable. "println" is a static function. "Hello world" is a String. These things all exist in an orderly world. A professor could explain a lot of key elements of language design with that one line. What's this:
print("Hello world")
...it's shorthand for much the same. Easier? Yep. But it's glossing over a lot of details that students need to know.
So when you come at it from a teaching angle, you're maybe making a mistake. Python/Ruby/LISP all have their WTFs that will throw off students, even if they're all better languages than Java.
Re: Java in College: "You might as well be teaching Chinese to a monkey."
#59However, what trips teachers up is that with some students the problem is that they can't even get past the first hump: getting meaningful things on the screen in the first place. It would be as frustrating as having a student in a college level writing course that always puts the words in his sentences in random order, and expects the reader to "know" what order to read them. Such a teacher would on the one hand be teaching tone and proper structure to one set of students, and basic rules of semantics to another. I recall many students in my CS classes just rearranging the syntax in their programs hoping the compiler would finally accept it. Clearly these students are having much different problems than the ones who simply get a little confused when they have a hard bug in their programs or find the idea of pointers unintuitive.
Re: Java in College: "You might as well be teaching Chinese to a monkey."
#60Earlier quoted context omitted.
I am pretty sure it was your tone.
Java is a whipping boy, and I also have my problems with it, but one of its minor strengths is that it is clean enough for a teaching language (especially for total neophytes). Here is the much lambasted manner of outputting: System.out.println("Hello world"); ...in fact, this is well organized. "System" is a namespace. "out" is a static variable. "println" is a static function. "Hello world" is a String. These thing…
System.out.println("Hello world");
Is easier to understand than this... print("Hello world")
Then you've forgotten what it's like to be a beginner.Java's not even a good example of what OO is, and it has way too much syntax and special keywords (something like 50) for teaching.
Python is a far better language for teaching, Smalltalk would be even better because it's much simpler, has only a handful of keywords, and a much more consistent and simpler syntax.
In any case, students should begins with a dynamic language where they don't have to think about manifest types that they aren't ready to understand anyway. It's also much faster working in a workspace or REPL where you have instant feedback and can experiment without messing around with compilers.