Le 3/7/15 12:17, Peter Uhnák a écrit :

    By the way, I've always used return statements in blocks to
    "break" out of loops since i didn't find any "break" method in
    Pharo. Is that bad too ?


It's still the same thing. Could you provide an example where you do such a thing? When I started with Smalltalk I had also this habit of forcing loops everywhere and breaking them, and only later I realized that it is very often much better expressed as collections with do:/select:/collect:/...

yes but internally this is what they do

Peter

Reply via email to