-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Two Types of Readability #775
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great - just had very minor comments / corrections!
Val sentences = List( | ||
"Normally you can't compose", | ||
"M[Y] and X⇒M[Y]", | ||
"to get M[Y]") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a feeling that this second mention shouldn't also be M[Y]
again but I don't know what it should be :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was correct, but sort of a confusing example.
I ended up changing the whole example to better show what flatmap does.
|
||
If used to more concisely express the concept at hand ( and not for showing off), all these things can improve expert readability at the cost of beginner readability. | ||
|
||
<div class="notice--warning notice--big"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the formatting of these tables - it's like I'm reading the Financial Times haha
Co-authored-by: Vlad A. Ionescu <[email protected]>
Co-authored-by: Vlad A. Ionescu <[email protected]>
Co-authored-by: Vlad A. Ionescu <[email protected]>
Co-authored-by: Vlad A. Ionescu <[email protected]>
Preview: https://65c682360ff6b508a2909918--ephemeral-narwhal-3ac3b2.netlify.app/blog/readability/