edited docs to prefer f-strings, then str.format(), and remove %-interpolation
additional ad-hoc documentation fixes, as opportunities seen:
- replace Built-In Function (BIF) "min" variable with "mins"
- prefer BIF str(var) over "%s" % var
- reformat some code examples to clarify multiple args passed to functions
- change some single-quote strings to double-quotes for consistency
- fix mismatched parens
misc edits:
- add .vscode/ to gitignore
- fixed docs to not demonstrate reuse of built-in function
names "str" and "int", even when within a one-off script
- note: did *not* change the "str" and "int" shown in
Howto/Starting/Part1/Learning-Typeclasses.md file,
as those are class variables (i.e., Character.str and
Character.int), which does not replace the BIFs of
str() and int(). Therefore, methods inside the class
can still use the python BIFs. While this is possibly
confusing to new python programmers, it is also not
within the scope of #2549.
misc edits:
- add .vscode/ to gitignore
edited docs to prefer f-strings, then str.format(), and remove %-interpolation
additional ad-hoc documentation fixes, as opportunities seen:
- replace Built-In Function (BIF) "min" variable with "mins"
- prefer BIF str(var) over "%s" % var
- reformat some code examples to clarify multiple args passed to functions
- change some single-quote strings to double-quotes for consistency
- fix mismatched parens
misc edits:
- add .vscode/ to gitignore
edited docs to prefer f-strings, then str.format(), and remove %-interpolation
additional ad-hoc documentation fixes, as opportunities seen:
- replace Built-In Function (BIF) "min" variable with "mins"
- prefer BIF str(var) over "%s" % var
- reformat some code examples to clarify multiple args passed to functions
- change some single-quote strings to double-quotes for consistency
- fix mismatched parens
misc edits:
- add .vscode/ to gitignore