Re: Archives
- Posted by petelomax 1 month ago
- 781 views
I'm curious what those "sophisticated features" might be.
Not trying to put words in anyone's mouth, but for me there are several additions to Phix that didn't really pan out:
nested routines, closures, regex, structs, classes, and OOP. They didn't really harm it, but they didn't improve it either.
Admittedly I was driven by and probably couldn't get 100% on rosettacode without, but that's not an excuse.
Two that actually worked were dictionaries aka associative arrays, and by far the best and most useful, "for in".
Maybe I should include apply/filter/columnize/join/join_by/substitute/tagset/shorten/unique/scanf/get_text and
perhaps elapsed/timedate, but they're more "useful additions" than "core language".
Oh, get_routine_info() has also proved very useful, and that is pretty much "core level".
I'm also insanely proud of p2js, but I have to admit it hasn't actually been properly "useful" yet...