rb643 / resting_state_eeg

8 stars 6 forks source link

Using coconut instead? #3

Open janfreyberg opened 7 years ago

janfreyberg commented 7 years ago

One idea I had (and something I've been wanting to try for a while) is using coconut instead of normal python. Coconut is a kind of "extended" python with some extra features. So all code that runs in python will run in coconut as well, but it also has pipe operators (like %>% in R and dplyr):

4 |> maths.sqrt() |> print

is equivalent to:

print(maths.sqrt(4))

Since we're making a pipeline, having a pipe operator could be cool 😃

janfreyberg commented 7 years ago

more info here: http://coconut-lang.org/

rb643 commented 7 years ago

Yeah go wild :) I'm off jupyter now so you can edit away on the notebook as well if you want!