Support switch on string variable

there are many open ended questions that you can’t necessarily reason about locally.

That is true. While my premise is entirely flawed - geez, what credibility do I have at this point, as I blend Swift Actuals into a Zig convo (more than a big whoops on my part) -. string processing is human processing.

Yes, there is computation - inputs, storage, reads, manipulation, outputs (be it a game controller controlling an onscreen avatar, or a financial calculation) - the basis of western human relatable computation are latin strings (images/pictographs are a bit abstract at this point).

C style processing of strings are … well … truthfully I had blocked them from my mind LOL. I quite like a = a1++a2++a3 but mem.eql(u8,a,b) … oof.

I def have missed the memo on how “C” like zig is intended to be; you and others were trying to tell me this, but I just wasn’t hearing you. Now I do!

While I am no fan of GC, a systems level approach is going to solve problems different from one intended to help solution the various human conditions…people writing programs for other people.

Not saying one is better than the other, but just learning where the solution space is. Thank you for your time, as well as others! It is helpful.

2 Likes