GithubHelp home page GithubHelp logo

Comments (4)

dhess avatar dhess commented on May 10, 2024

There are some good ideas here, so long as we're very careful that students don't conflate actions they perform on their programs with evaluation steps that the evaluator performs (even under the student's direction) on evaluated expressions.

When we have some time to return to frontend work, let's have a dev+design meeting about this.

from primer.

georgefst avatar georgefst commented on May 10, 2024

so long as we're very careful that students don't conflate actions they perform on their programs with evaluation steps that the evaluator performs

As we've discussed, there's some tension here since we also want them to recognise that all evaluation states are valid programs which they could construct in edit mode.

from primer.

dhess avatar dhess commented on May 10, 2024

Should this PR be retitled something like, "Add eval-like refactoring actions"? It's not clear from the title whether you're proposing that students should be able to do evaluation in/on expressions directly in edit mode, rather than needing to go into a special eval mode; or if you're proposing that we add actions like, "Function application -> let binding."

I think those are two very different conversations, so let's make sure we're all on the same page.

from primer.

georgefst avatar georgefst commented on May 10, 2024

Should this PR be retitled something like, "Add eval-like refactoring actions"? It's not clear from the title whether you're proposing that students should be able to do evaluation in/on expressions directly in edit mode, rather than needing to go into a special eval mode; or if you're proposing that we add actions like, "Function application -> let binding."

I want a way for students to get used to (at least some of) these actions before being launched in to a separate mode where they have to get used to them all at once. It can be a first step towards understanding the actual semantics of the program. That's the main thing I'm getting at here.

On the other hand, I have been thinking about whether Eval can be more of an overlay than a separate mode (a kind of "undo/redo on steroids"), and that has fed in to this a little.

I think those are two very different conversations, so let's make sure we're all on the same page.

So yes, maybe we should focus on the former here, and save the latter for a separate proposal (once I've given it more thought), but they are closely linked.

from primer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.