2 ms·
I did too, but just try them out for a week, you’ll love it. Moreover array based language like Q do have infix notation. f(x)=2x+1 In Q is f:{1+2*x} You co
by smabie 7y ago
I did too, but just try them out for a week, you’ll love it. Moreover array based language like Q do have infix notation.
f(x)=2x+1
In Q is
f:{1+2*x}
You could call it with: f 5 or f[5].
It’s really not any different.
- e12e 7y agoHm, I could see myself playing with it - but I'm not quite seeing how I'd fit it into my day job. I do occasionally work with some simple aggregation and filtering - but usually in an sql db - and barring embedding an array language, I'd have to fetch all the data into eg: klong first, then process. It's hard to imagine a scenario where that would make sense. Otoh, I'm still considering working through advent of code - such domains should be well suited, I guess.
- smabie 7y agoIf you're writing business logic, I'm not sure how helpful array-based languages are. The code would look very similar to a normal language, but without the classes or methods or objects. For advent of code, it really shines though. Read in some big chunk of data, do a bunch of matrix and list operations to get the answer.