diff options
author | mark-summerfield <mark@qtrac.eu> | 2017-03-12 16:44:33 +0000 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-03-12 17:44:33 +0100 |
commit | 639f786e5dd2a55f127a4dd3bad74a7952fa31e4 (patch) | |
tree | b9bdef9fe8460b762cfac9b06de510f36de3c77f /icons | |
parent | 3ab884a9e3a0c2845faac2c88cdd2042110a3339 (diff) | |
download | Nim-639f786e5dd2a55f127a4dd3bad74a7952fa31e4.tar.gz |
Update tut1.rst (#5510)
In general: s/have to/must/g - but you can't do this mechanically because sometimes the must has to go back a word (e.g., line 519). This looks really odd to me: if thisIsaLongCondition() and thisIsAnotherLongCondition(1, 2, 3, 4): x = true I would have expected: if thisIsaLongCondition() and thisIsAnotherLongCondition( 1, 2, 3, 4): x = true If the second form is valid and good Nim style then I suggest using it rather than the original. However, if the original is the preferred style then this should be mentioned in the text since it is unusual. Since Nim is case-sensitive I think it is bad to write wrongly cased names, e.g., ``Bool`` is a built-in type on line 589. This isn't true since Bool isn't anything, but bool is. So in these cases I'd always reword to avoid this problem (and that's what I've done -- and it also avoids "bool. Bool" which was ugly).
Diffstat (limited to 'icons')
0 files changed, 0 insertions, 0 deletions