You are viewing a single thread.
View all comments View context
4 points

Also, how would that ‘weirdness’ impact using the device in a teaching context?

permalink
report
parent
reply
8 points

People would learn bad habits.

For example, due to parameter passing often being done via the zero page, recursion is unnecessarily hard on the 6502, whereas one could argue that recursion is one of the major skills to master for any programmer.

permalink
report
parent
reply
3 points

@irdc @feoh All programmers need to learn recursion and fully understand it so when they encounter it in the wild they can properly analyze what it is doing and replace it with non-recursive code.

permalink
report
parent
reply
2 points

A non-recursive recursive descent parser isn’t any easier to reason about.

permalink
report
parent
reply
1 point

One could, but I would argue that this idea pre-supposed a very ascetic class of programmer, and that depending on one’s goals in learning how to program, recursion can be a useful concept but saying it should be the one litmus test for any learning platforms seems highly questionable to me.

permalink
report
parent
reply
3 points

They learn how to program in a more efficient way that makes better use of limited memory and CPU cycles. Which frankly is something modern programmers and game designers could very much benefit from considering how bloated and unoptimized much of modern software is, probably because they didn’t need to think about whether computers can actually run it.

permalink
report
parent
reply

retrocomputing

!retrocomputing@lemmy.sdf.org

Create post

Discussions on vintage and retrocomputing

Community stats

  • 235

    Monthly active users

  • 301

    Posts

  • 1.6K

    Comments