Home Segments Index Top Previous Next

94: Mainline

If you wish to test how a method works without certain fragments, you can hide those fragments in a comment, instead of deleting them. In the following, for example, the method definition specifies that self is answered, because * 9 has been hidden in a comment:

fatToCalories 
  ^ self "* 9 "