Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent use of method class notation (») #215

Open
LinqLover opened this issue Jul 1, 2023 · 0 comments
Open

Inconsistent use of method class notation (») #215

LinqLover opened this issue Jul 1, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@LinqLover
Copy link
Collaborator

In sec 2.7, we introduce our typographic convention:

A typographic convention. Smalltalkers frequently use the notation “>>” to identify the class to which a method belongs, so, for example, the cellsPerSide method in class SBEGame would be referred to as SBEGame>>cellsPerSide. To indicate that this is not Smalltalk syntax, we will use the special symbol » instead, so this method will appear in the text as SBEGame»cellsPerSide. From now on, when we show a method in this book, we will write the name of the method in this form. Of course, when you actually type the code into the browser, you don’t have to type the class name or the »; instead, you just make sure that the appropriate class is selected in the class pane.

However, we already use this notation already earlier a few times (method 1.1, method 2.2, method 2.4). Method 1.2 does not use this syntax, however.

We should either introduce the typographic convention earlier or update these three figures to not use the notation.

Originally reported here: https://lists.squeakfoundation.org/archives/list/[email protected]/thread/ITFZ56G37BI6W7IY4TC3LC6QOWNZ7M4P/

@LinqLover LinqLover added the bug Something isn't working label Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant