Integer.st
changeset 19094 784b51cf4213
parent 19093 c07a1b2d0e11
child 19104 e7c5169d9ab7
child 19118 c49679d75a5d
--- a/Integer.st	Sat Jan 23 11:30:05 2016 +0100
+++ b/Integer.st	Sat Jan 23 11:31:16 2016 +0100
@@ -1134,9 +1134,10 @@
     "return the bitwise-and of the receiver and the argument, anInteger.
      Same as bitAnd: - added for compatibility with Dolphin Smalltalk.
      Notice:
-        please do not use ^ for integers in new code; it makes the code harder
-        to understand, as it may be not obvious, whether a boolean or a bitWise or is intended.
-        For integers, use bitAnd: to make the intention explicit."
+        PLEASE DO NOT USE & for integers in new code; it makes the code harder
+        to understand, as it may be not obvious, whether a boolean-and a bitWise-and is intended.
+        For integers, use bitAnd: to make the intention explicit.
+        Also, consider using and: for booleans, which is does not evaluate the right part if the left is false."
 
     ^ self bitAnd:aNumber
 
@@ -1231,7 +1232,7 @@
         PLEASE DO NOT USE | for integers in new code; it makes the code harder
         to understand, as it may be not obvious, whether a boolean-or a bitWise-or is intended.
         For integers, use bitOr: to make the intention explicit.
-        For booleans, consider using or:, which is does not evaluate the right part if the left is true."
+        Also, consider using or: for booleans, which is does not evaluate the right part if the left is true."
 
     ^ self bitOr:aNumber