diff options
author | David Hari <david.hari@objective.com> | 2020-01-24 11:51:52 +1100 |
---|---|---|
committer | David Hari <david.hari@objective.com> | 2020-01-24 11:51:52 +1100 |
commit | 96eddee475db3e9c58b7b24694d3cb2fb4a42a14 (patch) | |
tree | 1b9fee4a4eb971420b3d38e9c1ea4f11870d6d37 /ru-ru/python-ru.html.markdown | |
parent | 1eecfded69cf0e92b7483ded18d4b2b830f37b47 (diff) |
Made some improvements
• Under Simple syntax, it referred to a unary message as “a single string”. I think it would be clearer and more accurate to describe it as “a single symbol”. Calling it a string may leave people confused with actual strings (i.e. instance of String class). Furthermore, message selectors are actually Symbol instances.
• Fixed the formatting of the bullet-point list of messages.
• Fixed the formatting of the example code, and set highlighting to smalltalk language.
• Under Assignment, many of the examples are actually access and assignment. You could simplify the list down to just the first 6 (i.e. up to and including x := Object new). The rest can go in a section further down which is about interesting base access methods. Even the Object new example isn’t really necessary, but it helps to show that assigning objects is no different from assigning literals.
Diffstat (limited to 'ru-ru/python-ru.html.markdown')
0 files changed, 0 insertions, 0 deletions