Code formatting patterns (was: [squeak-dev] The Trunk:
Compiler-cmm.275.mcz)
Stéphane Rollandin
lecteur at zogotounga.net
Sat Oct 5 18:45:06 UTC 2013
> which, clearly, is a mess compared to:
>
> [ mySoundRecorder
> copyTo: resultBuf
> from: j
> to: (j + n - 1)
> from: buf
> startingAt: firstInBuf
> normalize: nFactor
> dcOffset: dcOffset ]
> on: AttemptToWriteReadOnlyGlobal
> do: [ :noti | noti resume: true ]
I prefer
[ mySoundRecorder
copyTo: resultBuf
from: j
to: (j + n - 1)
from: buf
startingAt: firstInBuf
normalize: nFactor
dcOffset: dcOffset
]
on: AttemptToWriteReadOnlyGlobal
do: [ :noti | noti resume: true ]
Stef
More information about the Squeak-dev
mailing list
|