On 08 May 2014, at 09:37, Sven Van Caekenberghe <sven@stfx.eu> wrote:
On 07 May 2014, at 23:25, Nicolas Cellier <nicolas.cellier.aka.nice@gmail.com> wrote:
I love these kind of snippets :)
I have built a collection of freak expressions in Squeak3.9. Pharo 3.0 is less spectacular, above collection is shrinking dangerously... but there are still some not so unsurprising features to test for:
These are actually not that funny, we should try to do something about them, or at least discuss them a bit.
'hello' copyReplaceFrom: 6 to: 4 with: 'world'.
#copyReplaceFrom:to:with: seems overloaded with the insert case, is that really necessary ? still the fact that the $o appears twice feels like a bug, no ?
(5 to: 10) at: 1.3.
Amazing. But this is even better (3 to: 8 by: 2) at: 1.3
understandable, scary, wrong, maybe use #asInteger on the index ?
'' , #[119 104 97 116 63]. #[] , 'what?'. "honour is safe, it's sorta symmetric..."
that is the ByteString/ByteArray dichotomy at work, may enforce the #species of the receiver and argument to be equal ?
"Cases of special syntax. Is the behavior officially supported in some EBNF?" -2r-1. - 2. "Note the space between the two letters"
These are at the (number) syntax level. Again scary, we should be (much) stricter in parsing.
2014-05-07 22:47 GMT+02:00 phil@highoctane.be <phil@highoctane.be>:
Le 7 mai 2014 22:17, "kilon alios" <kilon.alios@gmail.com> a écrit :
I dont know if you guys are aware of this talk, very funny , quite weird , so I thought why not share it with you
Yeah, Amber kind of alleviates some of these pain points...