You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A potential fix might be showing the creation of symbols without spaces from strings in the former (e. g. #Cats == 'Cats' asSymbol), while keeping the latter as it is. This way, the student doesn't need to figure out new syntax, because #Smalltalk (no space) is shown in the first test, and the symbol-with-spaces syntax is still shown in the latter for completeness.
The text was updated successfully, but these errors were encountered:
In
KoanAboutSymbols
,test05symbolsCanBeMadeFromStrings
andtest06symbolsWithSpacesCanBeMade
both show the creation of symbols with spaces (#'Cats and dogs'
). The syntax (#'...'
) is first shown in the latter, leaving the student alone in figuring it out in the former. Also, the two tests are almost redundant.A potential fix might be showing the creation of symbols without spaces from strings in the former (e. g.
#Cats == 'Cats' asSymbol
), while keeping the latter as it is. This way, the student doesn't need to figure out new syntax, because#Smalltalk
(no space) is shown in the first test, and the symbol-with-spaces syntax is still shown in the latter for completeness.The text was updated successfully, but these errors were encountered: