A rare occurrence these days. I suppose a lot of it has to do with shrinking attention spans and instant gratification and the lack of effort required to do so many things that required even a little bit of effort before
I started reading books again and deleted Tiktok since I noticed my attention bad had gotten so bad. Can't imagine people GROWING UP with this stuff. My parents were worried I played runescape too much when I was young but compared to Tiktok that's some advanced stuff.
I might be missing something, but was this project started in 2016? I'm not sure what line in the sand you're drawing. That was some minima for developers "knowing UI actually matters" I presume?
This looks infinitely better than yet another, generic web styling framework. Not sure what kind of "gotcha" you've implied here. Also, the page consumes 10x time less resources.
My personal definition/interpretation would be if it's more than 50% of the project's code/work, even if one is reviewing the code (to whatever extent).
i can understand why it failed for general use, but shit like this revives my excitement
q: i'm not an expert, this looks like it extends xpath syntax? haven't seen stuff like the /map is this referring to the html map element? or a fp-style map?
If wxpath can help revive some of that excitement, then I consider my project a success.
As for your question, while wxpath does extend the xpath syntax, `/map` is not one of its additions, nor is it a html map element.
XPath 3.1 introduced first-class maps (and arrays) (https://www.w3.org/TR/xpath-31/#id-maps), and `/map` is the syntax to create said structure. It's an awesome feature that's especially useful for quickly delivering JSON-like objects.
XPath may have "failed" for general use but it's generally well-enough supported that I can find a library in the common languages I've used when I went looking for it. In some ways the hard part is just knowing it exists so you can use it if you need it.
I should also add that most (Python-based) web crawling and scraping frameworks support XPath engines OOTB: Scrapy, Crawlee, etc. In that sense, XPath is very much alive.
You can get ever so gradually stricter with your types which means that the operations you perform on on a narrow type is even more solid
It is also 100% possible to do in dynamic languages, it's a cultural thing
reply