Chessie icon indicating copy to clipboard operation
Chessie copied to clipboard

Use or not of ROP terminology

Open mavnn opened this issue 9 years ago • 3 comments

Because I think this is a better forum than twitter!

@tpetricek do you mind explaining your opposition to using ROP based names? I'm not sure I'm seeing the issue yet, especially if we have a two sentence byline of "this is an either monad under the hood" somewhere.

It feels like it throws away a lot of Scott's good work on explaining things in nice easy to understand language.

mavnn avatar Feb 27 '15 13:02 mavnn

I like the ROP metaphor, but agree the naming is a bit "off" in code. I just shot off a PR that changes the computation expression from rop {} to attempt{}. However, I feel STRONGLY that the docs should continue to describe things using the railway metaphor.

pblasucci avatar Feb 27 '15 14:02 pblasucci

When I messed around with my own implementation of a ROP builder I ended up naming itattempt too. Felt like a good fit to me.

TWith2Sugars avatar Feb 27 '15 15:02 TWith2Sugars

attemptseems more natural, in my view

Kurren-N avatar Mar 13 '16 23:03 Kurren-N