|
|
|
|
|
by mhomde
3006 days ago
|
|
I always wanted a language that was built upon the concept on just passing things forward in a pipe, and was like an hybrid between functional and c style languages, like: someobject => doThis() => doThat() => dontForgotToFinishUp()
then you could also possible send multiple objects into that pipe: obj1, obj2 => doThis() => doThat() => dontForgotToFinishUp()
you'd have to have some semantics for sending them separately, as an ienumerable or as parameters but perhaps that could be done (obj1, obj2) => doThis() => doThat() => dontForgotToFinishUp()
[obj1, obj2] => doThis() => doThat() => dontForgotToFinishUp()
add on top of that something that could abstract away multithreading/tasking in certain cases (automatically assigning them to tasks) and I'd be a happpy coder :) |
|
`data | groupby, "author" | mean`
Would create a graph object, which could be lazily evaluated, run in Dask, TF, etc.
It started to get ugly when passing in multiple parameters into a function. I had to watch out for left and right associativity, and manage casting of arguments.
It was a fun little experiment but I'm not sure how much it would actually improve workflows. If that sounds interesting, let me know and I'll poke at it again.