Skip to content

Typo in lecture 2 of week 1 #6

@giorgi-tsu

Description

@giorgi-tsu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions