Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The problem with this is that people again get way to clever with it. it's not just stream -> filter -> collection, there will be a bunch of groupbys in there etc. If you have to debug or extend the functionality it's a nightmare to understand what all the intermediate representations are


Inspecting intermediate representations is trivial by just collecting them into a variable?

More complicated scenarios are exactly what streaming APIs excel at, by treating each step as a single transformation of data. Lack of a proper group by function is one of my classic examples for how Go forces you into an imperative style that's harder to understand at a glance.


Elixir gives you tooling to inline inspect




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: