[Cuis-dev] Array evalStrings

Todd Blanchard tblanchard at mac.com
Thu Feb 8 14:26:40 PST 2024


Really?  I thought explicit checking for class types was an anti pattern.  

The fact that this was a problem demonstrates that it is brittle.

Seems a test for isString would be more future proof.

Similar for Array, why would OrderedCollection not be acceptable?


> On Feb 6, 2024, at 8:04 AM, Juan Vuletich via Cuis-dev <cuis-dev at lists.cuis.st> wrote:
> 
> On 2/4/2024 7:54 PM, Barry Perryman via Cuis-dev wrote:
>> Hi All,
>> 
>> I was playing around with the Life package and hit a bug when trying to run “Experiment…” from the menu. It prompts for a number of cells and a resolution window size but fails when trying to read the x value from a point. The problem is the Array>>evalStrings doesn’t understand the UnicodeString passed into it.
>> 
>> Attached is a change that checks for String or a UnicodeString.
>> 
>> Barry
>> 
> 
> Integrated!
> 
> Thanks,
> 
> -- 
> Juan Vuletich
> cuis.st
> github.com/jvuletich
> researchgate.net/profile/Juan-Vuletich
> independent.academia.edu/JuanVuletich
> patents.justia.com/inventor/juan-manuel-vuletich
> linkedin.com/in/juan-vuletich-75611b3
> twitter.com/JuanVuletich
> 
> -- 
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev



More information about the Cuis-dev mailing list