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

Typo in lecture 2 of week 1 #6

Open
giorgi-tsu opened this issue Mar 11, 2021 · 1 comment
Open

Typo in lecture 2 of week 1 #6

giorgi-tsu opened this issue Mar 11, 2021 · 1 comment

Comments

@giorgi-tsu
Copy link
Contributor

giorgi-tsu commented Mar 11, 2021

There is a typo in subsection called Line 1 is a valid Julia expression

At the end of page 4 in the note there is written the following paragraph:

"Finally, let’s note that some parts of line 1 would by themselves be valid code, namely the name and the value. A valid expression can be part some larger valid expression."

Actually, the name (mystringexample1) only from line 1 (mystringexample1 = "Hello, world") is not a valid expression hence is not a valid code. Why? because if you type on the name without the equal sign at the REPL and hit enter you receive:

ERROR: UndefVarError: mystringexample1 not defined.

P.S. This is not the case in video as in the video instructor mentions that only string alone can be a valid code which is true.

@Andrew-Hanson
Copy link

I belive that if the name was already defined then entering just the name could be a valid line of code. However I do see a typo in the line, "can be part some larger valid expression.". I think it should be "can be part of some larger expression.".

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

No branches or pull requests

2 participants