Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplifying language on syntax errors #44

Merged
merged 3 commits into from Jun 6, 2017

Conversation

Copy link
Contributor

@elliewix elliewix commented Jun 3, 2017

Tried to simplify the language in the header. I also wanted to change this statement: "Won’t even try to run the program if it can’t be parsed" Python has to run the program up until that point to even see the error, but the script will shut down if the line of code can't be parsed. So this statement is very confusing.

I also fussed with the wording to focus more on linguistic synonyms, which usually hits better with a librarian crowd.

Tried to simplify the language in the header.  I also wanted to change this statement: "Won’t even try to run the program if it can’t be parsed" Python has to run the program up until that point to even see the error, but the script will shut down if the line of code can't be parsed.  So this statement is very confusing.

I also fussed with the wording to focus more on linguistic synonyms, which usually hits better with a librarian crowd.
@richyvk
Copy link
Collaborator

@richyvk richyvk commented Jun 4, 2017

Is the term "grammar rules" a bit confusing? People might think it means English grammar, not Python grammar?

@elliewix
Copy link
Contributor Author

@elliewix elliewix commented Jun 4, 2017

You're right, it could perhaps use some more context. However, I usually talk about syntax errors as part of a larger metaphor that, like all human languages, programming languages have specific grammar and punctuation rules. You get errors or crashes when those are violated. This usually hits well for librarians because many are either from English, literature, or have degrees in other languages.

@richyvk
Copy link
Collaborator

@richyvk richyvk commented Jun 6, 2017

Did a quick edit - if your happy with it I'll merge it in.

@weaverbel weaverbel merged commit f80ee75 into data-lessons:gh-pages Jun 6, 2017
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.

None yet

3 participants