Sean wrote on Twitter (https://twitter.com/SeanDenigris)
At times I'm still floored by the simple elegance of #Smalltalk. Today's smile-evoking snippet: `2 seconds asDelay wait`⦠perfectly said :)
Why so complicated "2 seconds wait" will do as well, is more compact and crystal clear ;) Have fun T.
Torsten Bergmann wrote
"2 seconds wait"
Showoff ;) ----- Cheers, Sean -- View this message in context: http://forum.world.st/Wait-two-seconds-tp4825675p4825890.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Hi there, I really liked the video, sent it to a friend to convince him to try Pharo... It also remind me that there is this really nice tool, the finder. Sadly, on the first try I had a bug: this request by example is working #('bc' 'ab')..#('ab' 'bc') this one is not {'bc'. 'ab'}..{'ab'. 'bc'} Pierre 2015-05-11 18:48 GMT-03:00 Sean P. DeNigris <sean@clipperadams.com>:
Torsten Bergmann wrote
"2 seconds wait"
Showoff ;)
----- Cheers, Sean -- View this message in context: http://forum.world.st/Wait-two-seconds-tp4825675p4825890.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Pierre Chanson wrote
this one is not {'bc'. 'ab'}..{'ab'. 'bc'}
Interestingly, `#('bc' 'ab').{'ab'. 'bc'}` works N.B. in general you can leave out the extra $. ----- Cheers, Sean -- View this message in context: http://forum.world.st/Wait-two-seconds-tp4825675p4826362.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Pierre Chanson wrote
I had a bug...
Issue 15540: Finder Should Accept Run-Time Arrays https://pharo.fogbugz.com/default.asp?15540 I traced the problem to Finder>>findSelector:, which uses #parseLiterals, but: '{1. 2}' parseLiterals. "#(#'{' 1 #'.' 2 #'}')" '#(1 2)' parseLiterals. "#(#(1 2))" ----- Cheers, Sean -- View this message in context: http://forum.world.st/Wait-two-seconds-tp4825675p4826367.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Indeed. I would love somebody to work on a new generation example finder as mentioned in PharoTopics :) Stef Le 14/5/15 18:20, Sean P. DeNigris a écrit :
Pierre Chanson wrote
I had a bug... Issue 15540: Finder Should Accept Run-Time Arrays https://pharo.fogbugz.com/default.asp?15540
I traced the problem to Finder>>findSelector:, which uses #parseLiterals, but:
'{1. 2}' parseLiterals. "#(#'{' 1 #'.' 2 #'}')" '#(1 2)' parseLiterals. "#(#(1 2))"
----- Cheers, Sean -- View this message in context: http://forum.world.st/Wait-two-seconds-tp4825675p4826367.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
participants (4)
-
Pierre CHANSON -
Sean P. DeNigris -
stepharo -
Torsten Bergmann