Skip to content

Rename init_shared_memory to prepare_memory #24

Closed

Description

@emilyalbini

I don't like so much the @bot.init_shared_memory/add_shared_memory_initializer names: they're too long and a bit ugly. I think a better naming is the following one:

  • @bot.init_shared_memory › @bot.prepare_memory
  • self.add_shared_memory_initializer › self.add_memory_preparer

This is a breaking change, but the old syntax will continue to work until 1.0.

Activity

  1. emilyalbini commented on Feb 27, 2016

    @emilyalbini
    ContributorAuthor

    Landed on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions