
31 Aug
2015
31 Aug
'15
3:48 a.m.
On 29/08/2015, at 5:37 am, Silvio Frischknecht
Why do you think that manipulating arrays is a better skill to teach to kids than manipulating linked lists?
What about double linked lists then. Most updatable data structures are just clumsy in Haskell.
Doubly linked lists are an exotic advanced data structure which are appropriate *FAR* less often (and I'm thinking of imperative languages like Pascal, C, Ada, &c here) than people who have been taught them believe. I've sometimes thought that teaching doubly linked lists in CS1 or CS2 should be a punishable offence.