News for hackers. Stuff that matters.
Re:Why did we ever think a student's first programming langu... by username90 on Saturday June 26, 2021 @11:31PM (#27648322)
What about pointers? They are fundamental to data structures, and languages which doesn't clearly show the difference between pointers and values makes understanding data structures much harder, as many data structures relies on multiple pointers pointing to the same data and that simply doesn't make sense if you seem them as separate values.
Re:Why did we ever think a student's first programming langu... by patrick451 on Sunday June 27, 2021 @03:20AM (#27649377)
I think this is a good point. You can implement a linked list in python, but, in my opinion, unless you already understand pointers, it's rather confusing. Doing it in c makes everything explicit.
Re:Why did we ever think a student's first programming langu... by sovok_x on Sunday June 27, 2021 @02:40AM (#27649188)
That depends on purpose of the teaching. If you want to teach them basics what the thread starter mentioned is enough. If you want the deeper understanding you should teach them how it boils down to machine code or add a bit of Assembly to the menu. It explains pointers and other such things pretty well.