Live data from Hacker News

Programming and Cognitive Load (2019)

dabapps.com

11–16 of 16 posts

Re: Programming and Cognitive Load (2019)

#11

It’s a nice metaphor, but hopefully we all know what bad abstractions look like. If you have to refer to the API documentation frequently, even for simple stuff, I don’t see how that’s adding any value. If you have 100 lines of code but you can expose the logic in 30 lines, that’s probably worth the refactor. However, making your code 3 lines instead of 10 isn’t very important.

I've worked with Django, and I feel like it's a 10000 line framework to keep you from having to write 10 lines of boilerplate 50 times. The ROI is not there for me.

Too, there's SO MUCH magic in it, that unless you work in it all day every day the abstractions take longer to remember that they're there and how to use them than it does to just write what they're doing "longhand".

I'm starting a new job with Rails and while there's a lot of magic there too, I don't get the same "how the $#! do I do this again" angst I got with Django. Maybe that's to your "bad abstraction" point.

Re: Programming and Cognitive Load (2019)

#12
RE concept of cognitive load in education, I recently read an interesting review paper Cognitive load theory, educational research, and instructional design: some food for thought by Ton de Jong[1] that did a good job at criticizing the idea as unfalsifiable. By defining three types of cognitive load intrinsic (unavoidable), extrinsic (bad), and germane (learning), it becomes easy to relabel things at will and reach any conclusion. If an education experience is good, then it must be because the cognitive load experienced was germane, if the experience was bad, then it must have had too much extrinsic load.

So it's a nice idea/concept, but difficult to study scientifically.

[1] https://link.springer.com/content/pdf/10.1007/s11251-009-911...

Re: Programming and Cognitive Load (2019)

#13

Cognitive load is such a technical term. You don’t want to (and probably cannot) hold 30 different things in your mind at the same time. That’s pretty obvious. Programmers have such an affinity for technical-sounding terms.

It's a fairly well established term. But then, I'm a developer so maybe it's just in my context/reality.

Re: Programming and Cognitive Load (2019)

#14

Cognitive load is such a technical term. You don’t want to (and probably cannot) hold 30 different things in your mind at the same time. That’s pretty obvious. Programmers have such an affinity for technical-sounding terms.

It's a fairly well established term. But then, I'm a developer so maybe it's just in my context/reality.

Pretty sure that’s what I said.

Re: Programming and Cognitive Load (2019)

#15

Earlier quoted context omitted.

It's a fairly well established term. But then, I'm a developer so maybe it's just in my context/reality.

Pretty sure that’s what I said.

Also, from TFA:

> Cognitive load is a concept from cognitive psychology, originally developed by John Sweller, that is generally discussed in relation to learning.

Not to mention the bulk of the article deals with cognitive load, as taken from psychology. Not "programmer" invented at all.

Re: Programming and Cognitive Load (2019)

#16

Earlier quoted context omitted.

Pretty sure that’s what I said.

Also, from TFA: > Cognitive load is a concept from cognitive psychology, originally developed by John Sweller, that is generally discussed in relation to learning. Not to mention the bulk of the article deals with cognitive load, as taken from psychology. Not "programmer" invented at all.

No post body was provided.
Post reply on HN