News for hackers. Stuff that matters.
Re:Carnegie Mellon Robotics Academy by manishsharan on Friday November 19, 2021 @06:35PM (#29284006)
Not to nitpick, but why does the coding language jump from Scratch to C++ ? Wouldn't kids find Python less infuriating that Scratch and less intimidating than C++ ?
Re:Carnegie Mellon Robotics Academy by altantiprocrast on Friday November 19, 2021 @11:00PM (#29285449)
I can only speak for Vex V5 (one of the systems they teach) and VRC, but from a competition and user standpoint:

Scratch is used when coding isn't a focus, and mechanical engineering students just want to 'get the job done'.

C++ is used because it's probably the most 'pro' language. Close to bare metal unlike Python, but object oriented and stuff unlike C. C++ is used pretty much any time complex algorithms, threading, etc. are involved during competition.

Recently Vex has been trialing Python in Vexcode, but it's relatively new so they might not have built courses for it yet, if the even plan to.

Re:Carnegie Mellon Robotics Academy by sp332 on Friday November 19, 2021 @10:38PM (#29285348)
I'm guessing it's a particular subset of C++ that's idiomatic to some ecosystem built around a small selection of robotics libraries.
Re:Carnegie Mellon Robotics Academy by mettamage on Saturday November 20, 2021 @04:58AM (#29286787)
Maybe it's me, but I've noticed that C++ isn't that intimidating at all. It has its intimidating things for sure, but I feel C is much more intimidating. The reason for that is that modern C++ has quite a few features. So in certain cases that means that you don't have to program things in a cumbersome way. I always felt like that with C.
Re:Carnegie Mellon Robotics Academy by TaylorAlexander on Friday November 19, 2021 @07:50PM (#29284550)
Maybe related to the use of Arduino?
Re:Carnegie Mellon Robotics Academy by M-0xFF on Friday November 19, 2021 @08:08PM (#29284640)
C++ is used heavily for robotics (particularly ROS), so I can see why they would need it, but yeah that's steep.
Re:Carnegie Mellon Robotics Academy by neatze on Friday November 19, 2021 @07:54PM (#29284572)
seems like scratch more efficient in teaching basic concept of programming like while loops, control statements without learning specific language syntax, in addition to, scratch arguably is more visual and interactive.
Re:Carnegie Mellon Robotics Academy by daveguy on Friday November 19, 2021 @09:23PM (#29285037)
I am tutoring my son in law and we started with Scratch following cs50. It was thankfully (to me) only 1 lesson before jumping to C. Do you have references for Scratch being more efficient in teaching basic concepts? Or just intuitive because no syntax (which very well may be true)?

Scratch is slower interaction for me just because I have muscle memory for text/ide/command-line, but I can see how Scratch would be a lot faster with novices given the pervasive threads and click-to-run.

Re:Carnegie Mellon Robotics Academy by neatze on Friday November 19, 2021 @11:48PM (#29285645)
It's just my subjective assumption, I meant using scratch only in context of beginners with 0 experience in programming/IT.