4 ms·
> For some reason, great tech often comes with “strings attached”... why can’t we have these things in mainstream, “day job”-grade languages with a human face.
by roenxi 4y ago
> For some reason, great tech often comes with “strings attached”... why can’t we have these things in mainstream, “day job”-grade languages with a human face.
Because mainstream languages make it expensive to implement new features. Eg, Python has made it to 3.10 and unless something changed in the last few releases there is still no answer to threading macros. Even if there was, Python doesn't let people sneak the feature in by a library which really delayed the whole thing. And Python is popular with the data science people, we know a whole bunch of them have seen Hadley Wickham's much-nicer-than-SQL relational algebra DSL that depends heavily on threading macros. Instead, Python has ... sqlalchemy, perhaps. Not a bad effort, but also no dplyr. <EDIT> Oh yeah, I forgot pandas. Maybe that works? Still not really tapping into the natural flow that threading can bring to the situation, and I think it is arguable as to whether it qualifies as a DSL. I stand by my example, Even if pandas is fit for task I don't think it opens up interesting opportunities like Hadley's use of threading did.</EDIT>
Is this good? Is it bad? Simple Python is good Python. But if you want to know why it doesn't have interesting experimental features, my call is because they were designed out of the language unless someone invests a huge amount of work. Most other mainstream languages will be similar.