Skip to content

Use pop() instead of del in the Lists lesson?Β #618

@gabrielesh

Description

@gabrielesh

Hi team,
I teach this sequence every term as a free workshop at the library with the assistance of an undergraduate CS major. Thank you for all your hard work to build something that works so well. While I myself have no opinion on using pop() vs del in Python, every single undergraduate whom I've invited teach the Lists lesson has refused to teach del and instead taught pop(). This makes me think that there must be a strong preference in programming for using pop(), and that it would be of use to our students to follow convention. If, however, this convention is particular to the U of Oregon's Computer Science Department, I'm happy to withdraw the suggestion.
If everyone agrees that pop() is the way to go, I'm happy to work with my students to make the PR.
Gabriele

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:enhancementPropose enhancement to the lesson

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions