@newt You don't even need grep, if you're using awk. Also, compiled regexes are gonna beat awk in speed.
Awk's advantage is it's simplicity, and the special-purposefulness (pattern-action structure). Unfortunately it doesn't support things like named/recursive patterns, but that's oftside the scope. And I'm not even sure putting as much of the expressivity into the pattern language is a good idea.
I was wondering if it's possible to use say Guile to quickly parse complex texts, the conclusion: 1) I don't know/remember Scheme well enough, and 2) it (unlike CL for example) doesn't offer general imperative/iterative constructs (!) to quickly translate the code from other languages into it, and forces you to recast everything as recursive calls. It can make sense ideologically. But also it's unlikely to be useful for quick and dirty solutions.
IDK anything about Ruby, but AFAIK it is direct descendant of Perl and inherits all the disadvantages of shell scripts. Like the values are equated with their serialization, roughly speaking, everything is a string.
I'd rank Python higher than Ruby.
@veer66 @tfb @clacke @newt Uniformity is not always good though. I do agree that one should stick to the conventions if there are no strong reasons to do otherwise, but there are reasons sometimes. Generally reducing developers to a least common denominator is a bad practice, for the developers themselves first and foremost.
@clacke @tfb @newt @veer66 Well, actors also not always believe in what they say, or are too naive to competently assess how much true is what they tell. I don't see a reason why anyone who's into programming languages and compilers would promote Go, other than dishonesty sponsored by Google et al. Either way, this is not a language I'd voluntarily pick.
Well. This is going to sound dumb in this thread, but the answer is: a tree farm! :-)
Personally, I don't really need anything right now. I want to write a couple of little things, but bash and python will suffice with QT. I'll be 60 in a couple of weeks and just like to keep up a bit to exercise the grey cells. (very gray at this point)
@veer66 both arm, you would think.
@veer66 Go also claims to encourage CSP but since it doesn't actually isolate goroutines in any way, it's really easy to accidentally share data between them that isn't protected by a mutex and have things break. You still really have to go out of your way to make sure you're not fucking things up.
@amiloradovsky @veer66 @tfb @clacke @newt This is probably true. Having used it enough, people are eventually going to realize its shitty tooling and culture make it completely untenable on larger projects. There's a huge number of people out there that use it exclusively because it scratches some itches with Python and "oh google made it so it must be good", despite almost everything else out there being leagues better.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!