5 ms·
I couldn't agree more. That's actually my biggest complaint with Java for true beginners; "hello word" has half a dozen concepts you can't omit but also can't
by teach 10y ago
I couldn't agree more.
That's actually my biggest complaint with Java for true beginners; "hello word" has half a dozen concepts you can't omit but also can't even begin to explain.
I just get hand-wavy and say "it's a required heading that Java requires; I'll explain it later."
- sotojuan 10y agoI'm assuming you don't have a choice in the language? I'd pick Python or something similar over Java for teaching coding.
- teach 10y agoThe AP exam is in Java, so I could teach the beginners Python and then switch to Java for their second year. Many teachers do. Introductory Java works for me, though.
- sotojuan 10y agoAh, got it. I also took AP Computer Science—good memories!
- xapata 10y agoIt's too bad that the AP exam is so slow to update.
- teach 10y agoIn the US, most universities still teach Java for their first programming course for CS majors. The AP exam has to match that. Once most universities begin with Python, the AP exam will follow suit.
- xapata 10y agoThe majority of "top" computer science departments teach Python in their CS 101 equivalent. http://cacm.acm.org/blogs/blog-cacm/176450-python-is-now-the-most-popular-introductory-teaching-language-at-top-us-universities/fulltext http://cacm.acm.org/blogs/blog-cacm/176450-python-is-now-the...
- sotojuan 10y ago...but the vast majority of programs in the US teach Java or C++.
- xapata 10y agoAbout 20k students take the AP Computer Science exam each year, split 14k for the A-level and 6k for the AB-level. I was going to make some argument that the AP students are all aiming for top schools, but the numbers seem to say otherwise. At least, 14k sounds like a lot.
- teach 10y agoYour data is super old; the AB-level exam was discontinued in 2009, and last year we had nearly 60,000 students that took the A exam. But your point is therefore even more valid: not all of these students are going to be at top schools.
- xapata 10y agoWow, that is old. I looked up stats from the collegeboard website. I guess they haven't updated. Or maybe Google led me to an old page they haven't removed.
- taneq 10y agoC++ is even worse, especially if using iostreams as many beginner's tutorials do. I mean seriously, your introductory script requires polymorphic operator overloading to abuse a common operator (left shift) into doing something totally unnatural for its usual meaning? What the hell. Any introduction to programming which requires hand-waviness is just teaching newcomers to not ask questions, which is terrible.