Skip to content

Conversation

@jangari
Copy link
Contributor

@jangari jangari commented Jul 13, 2016

Additional callout for arbitrary loop variable names, and importing numpy as is, and as np.

jangari added 2 commits July 13, 2016 20:14
…is not a special keyword, and that looping through a string has the effect of iterating over its characters, while looping through a list iterates through its members. Thus, it's not a fact of 'char' that selects and iterates over characters.
@valentina-s
Copy link
Contributor

Thank you for your suggestions! I agree that the loop callout is helping understand the loops better. I think having both np and numpy imported is a bit confusing. Instead I suggest to say something along the lines that if they work with other people's code it is good to agree on the convention.

@valentina-s valentina-s merged commit 1487fc9 into swcarpentry:gh-pages Jan 7, 2017
@valentina-s
Copy link
Contributor

I modified the final commit and merged your PR. Thanks!

maxim-belkin pushed a commit that referenced this pull request Jun 19, 2018
Move CODE_OF_CONDUCT.md to boilerplate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants