[Pharo-dev] Re: Fun with dates

2023-07-20 Thread ducasse
How did you generate these :) It looks like fuzzing :) S > On 19 Jul 2023, at 18:48, Guillermo Polito wrote: > > Try to guess what each of the following lines of code do: > > '''/5%9/$#=7*''*(?&&)58-,=93/1(0 1&<"1%?#$-::#)' asDate. > > '*%!@$4*4#!$!.&0-";)7.<7?%(; $535(0536.%#56&++''3!%0/' a

[Pharo-dev] Re: Fun with dates

2023-07-19 Thread Miloslav.Raus--- via Pharo-dev
and woot: I'm a good parser (bullshit eliminator; went for a few of the examples - after you hinted it is super-permissive), but there is no reason for the default to be that tolerant. perhaps an introduction of "culture" fo the default parsing, and otherwise some format rules ? _

[Pharo-dev] Re: Fun with dates

2023-07-19 Thread James Foster via Pharo-dev
Not that this isn’t fun, but whenever anyone says “gues what it does," it reminds me of one of my favoriate quotes from Dijkstra in his 1972 ACM Turing Award Lecture, “The Humble Programmer”: The competent programmer is fully aware of the strictly limited size of his own skull; therefore he app

[Pharo-dev] Re: Fun with dates

2023-07-19 Thread Miloslav.Raus--- via Pharo-dev
Right of the bat: mind blown (they probably translate to something) From: Guillermo Polito Sent: Wednesday, July 19, 2023 6:48 PM To: Pharo Development List Subject: [Pharo-dev] Fun with dates Try to guess what each of the following lines of code do: '''/5%9/$#