Computer Programming with the Nim Programming Languageimmediately follow another underscore. var pos2: int # OK leftMargin: int # OK next_right_margin: int # OK _private: int # illegal custom_: int # illegal strange__error: int # illegal Generally Generally, we use camel-case like leftMargin for variable names, not snake-case like left_margin. Current Nim has the special property that identifiers are case-insensitive and that underscores are simply letter is case-sen sitive. So the names leftMargin, leftmargin, and left_margin are identical for the compiler. But Left Margin is different from all the others because it starts with a capital letter0 码力 | 508 页 | 3.50 MB | 1 年前3
Computer Programming with the Nim Programming Languageimmediately follow another underscore. var pos2: int # OK leftMargin: int # OK next_right_margin: int # OK _private: int # illegal custom_: int # illegal strange__error: int # illegal Generally Generally, we use camel-case like leftMargin for variable names, not snake-case like left_margin. Current Nim has the special property that identifiers are case-insensitive and that underscores are simply letter is case-sen sitive. So the names leftMargin, leftmargin, and left_margin are identical for the compiler. But Left Margin is different from all the others because it starts with a capital letter0 码力 | 508 页 | 3.54 MB | 1 年前3
Computer Programming with the Nim Programming Languageimmediately follow another underscore. var pos2: int # OK leftMargin: int # OK next_right_margin: int # OK _private: int # illegal custom_: int # illegal strange__error: int # illegal Generally Generally, we use camel-case like leftMargin for variable names, not snake-case like left_margin. Current Nim has the special property that identifiers are case-insensitive and that underscores are simply letter is case-sen sitive. So the names leftMargin, leftmargin, and left_margin are identical for the compiler. But Left Margin is different from all the others because it starts with a capital letter0 码力 | 508 页 | 3.50 MB | 1 年前3
Computer Programming with the Nim Programming Languageimmediately follow another underscore. var pos2: int # OK leftMargin: int # OK next_right_margin: int # OK _private: int # illegal custom_: int # illegal strange__error: int # illegal Generally Generally, we use camel-case like leftMargin for variable names, not snake-case like left_margin. Current Nim has the special property that identifiers are case-insensitive and that underscores are simply letter is case-sen sitive. So the names leftMargin, leftmargin, and left_margin are identical for the compiler. But Left Margin is different from all the others because it starts with a capital letter0 码力 | 508 页 | 3.52 MB | 1 年前3
Computer Programming with the Nim Programming Languageimmediately follow another underscore. var pos2: int # OK leftMargin: int # OK next_right_margin: int # OK _private: int # illegal custom_: int # illegal strange__error: int # illegal Generally Generally, we use camel-case like leftMargin for variable names, not snake-case like left_margin. Current Nim has the special property that identifiers are case-insensitive and that underscores are simply letter is case-sen sitive. So the names leftMargin, leftmargin, and left_margin are identical for the compiler. But Left Margin is different from all the others because it starts with a capital letter0 码力 | 508 页 | 3.53 MB | 1 年前3
Computer Programming with the Nim Programming Languageimmediately follow another underscore. var pos2: int # OK leftMargin: int # OK next_right_margin: int # OK _private: int # illegal custom_: int # illegal strange__error: int # illegal Generally Generally, we use camel-case like leftMargin for variable names, not snake-case like left_margin. Current Nim has the special property that identifiers are case-insensitive and that underscores are simply letter is case-sen sitive. So the names leftMargin, leftmargin, and left_margin are identical for the compiler. But Left Margin is different from all the others because it starts with a capital letter0 码力 | 508 页 | 3.53 MB | 1 年前3
Computer Programming with the Nim Programming Languageimmediately follow another underscore. var pos2: int # OK leftMargin: int # OK next_right_margin: int # OK _private: int # illegal custom_: int # illegal strange__error: int # illegal Generally Generally, we use camel-case like leftMargin for variable names, not snake-case like left_margin. Current Nim has the special property that identifiers are case-insensitive and that underscores are simply letter is case-sen sitive. So the names leftMargin, leftmargin, and left_margin are identical for the compiler. But Left Margin is different from all the others because it starts with a capital letter0 码力 | 508 页 | 3.54 MB | 1 年前3
Computer Programming with the Nim Programming Languageimmediately follow another underscore. var pos2: int # OK leftMargin: int # OK next_right_margin: int # OK _private: int # illegal custom_: int # illegal strange__error: int # illegal Generally Generally, we use camel-case like leftMargin for variable names, not snake-case like left_margin. Current Nim has the special property that identifiers are case-insensitive and that underscores are simply letter is case-sen sitive. So the names leftMargin, leftmargin, and left_margin are identical for the compiler. But Left Margin is different from all the others because it starts with a capital letter0 码力 | 508 页 | 3.54 MB | 1 年前3
Computer Programming with the Nim Programming Languageimmediately follow another underscore. var pos2: int # OK leftMargin: int # OK next_right_margin: int # OK _private: int # illegal custom_: int # illegal strange__error: int # illegal Generally Generally, we use camel-case like leftMargin for variable names, not snake-case like left_margin. Current Nim has the special property that identifiers are case-insensitive and that underscores are simply letter is case-sen sitive. So the names leftMargin, leftmargin, and left_margin are identical for the compiler. But Left Margin is different from all the others because it starts with a capital letter0 码力 | 508 页 | 3.54 MB | 1 年前3
Computer Programming with the Nim Programming Languageimmediately follow another underscore. var pos2: int # OK leftMargin: int # OK next_right_margin: int # OK _private: int # illegal custom_: int # illegal strange__error: int # illegal Generally Generally, we use camel-case like leftMargin for variable names, not snake-case like left_margin. Current Nim has the special property that identifiers are case-insensitive and that underscores are simply letter is case-sen sitive. So the names leftMargin, leftmargin, and left_margin are identical for the compiler. But Left Margin is different from all the others because it starts with a capital letter0 码力 | 508 页 | 3.52 MB | 1 年前3
共 28 条
- 1
- 2
- 3













