Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
py-nutshell
  • Loading branch information
bduggan committed Mar 3, 2017
1 parent 45a7931 commit fc5555b
Showing 1 changed file with 606 additions and 0 deletions.

2 comments on commit fc5555b

@AlexDaniel
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love this.

But can I also ask for spaces around operators (e.g. if 1 == 2 { instead of if 1==2 {) and consistent use of single quotes (e.g. say 'hello'; instead of say "hello";)? 😄

@bduggan
Copy link
Member Author

@bduggan bduggan commented on fc5555b Mar 6, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

But can I also ask for spaces around operators (e.g. if 1 == 2 { instead of if 1==2 {)

Sure, fixed in 5952a50.

and consistent use of single quotes (e.g. say 'hello'; instead of say "hello";)

I added a bit about interpolation, and put single characters and words in single quotes, but longer strings in double quotes; this seems like an okay way to illustrate that both are acceptable (441c3e6), and seems sort of consistent with the rest of the docs (as best I can tell).

Please sign in to comment.