<div dir="ltr"><div> I strongly believe the best study strategy is to be unfaithful to any source or subtopic. When I want to learn something, I study whatever aspect of it holds my interest, for only slightly longer than it continues to do so. If I continue to want to learn a topic, but lose interest in a particular source or subtopic, it's important to stop that particular avenue. Otherwise I'll lose motivation for the topic as a whole.<br></div><br> The result is that, while I never learn (say) a language completely, I generally learn enough to do whatever I was trying to do. (Sometimes I learn enough to decide it's too hard -- and for cases in which that's bound to happen, the quicker the better.)<br><br> Almost nobody learns any language completely anyway, and most of those who do could have used their time better. Sacrifice is a superpower.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 16, 2021 at 9:09 AM Richard Eisenberg <<a href="mailto:lists@richarde.dev">lists@richarde.dev</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">I just want to pipe up and say I'm not comfortable with this response. When I feel this way about writing on a forum, I normally contact the author in private, but I think posting publicly here has its merits. I'm hoping that the long correspondence AntC and I have had -- often with opposing viewpoints but with mutual respect -- with withstand this email.<div><br></div><div>Michael posted here expressing frustration with his experience learning and using Haskell. In my opinion, he has spent too much time reading older papers, written by experts for experts -- which Michael is not. I do not fault Michael for this: these resources are sometimes what appear when searching, and we as a community have done a poor job marshaling our educational resources. (Michael, I just thought of a resource you might find useful: <a href="http://dev.stephendiehl.com/hask/" target="_blank">http://dev.stephendiehl.com/hask/</a> is an oft-linked resource attempting to do that marshaling. I am not vouching for it here, per se, but I know others have found it useful.)</div><div><br></div><div>However, Michael very specifically said that "just learn lambda-calculus" was not helpful for him, and so I think it's unhelpful for someone to respond with "just learn lambda-calculus". There are a number of other statements in the email below which could be seen as belittling -- also not helpful.</div><div><br></div><div>Instead, I wish that we, as a community, could take posts like Michael's at face value: this is the experience of someone who wants to learn Haskell. While some of the conclusions stated in that post are misunderstandings, it is not the sole fault of the learner for these misunderstandings: instead, we must try to understand what about our community and posted materials induced these misunderstandings, and then seek to improve. Many people in Michael's situation may not have posted at all -- and so this kind of information can be very hard to get.</div><div><br></div><div>Michael, I have no silver bullet to offer to you to try to help you here. I do tend to agree with AntC that you have developed some misconceptions that are hindering your continued learning. The terminology actively hurts here. (To be fair, the first Haskell standard pre-dates both Java and C++, and so one could argue who got the terms wrong.) For my part, I am trying to help with this situation both by trying to improve error messages, and though my support of the Haskell Foundation's Haskell School initiative (<a href="https://github.com/haskellfoundation/HaskellSchool" target="_blank">https://github.com/haskellfoundation/HaskellSchool</a>). These will take time to grow, but my hope is that a future person like you will have an easier route in.</div><div><br></div><div>In the meantime, I implore us to take all expressed experiences as exactly that: the experience of the person writing. And if they say they don't want X, please let's not feed them X. :)</div><div><br></div><div>Richard<br><div><br><blockquote type="cite"><div>On Sep 16, 2021, at 12:53 AM, Anthony Clayden <<a href="mailto:anthony.d.clayden@gmail.com" target="_blank">anthony.d.clayden@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><font face="arial, sans-serif">Hi Michael, oh dear, oh dear, oh dear.</font><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">The seeds of your confusion are very evident from your message. How to back you out of whatever deep rabbit-hole you've managed to get your head into?<br></font><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">> <span style="font-size:1em;white-space:pre-wrap"> ... Your </span>average<span style="font-size:1em;white-space:pre-wrap"> reader (already a programmer) would be better served by a </span><span style="font-size:1em;white-space:pre-wrap">comparative approach: Here's how to say something in a couple of other </span><span style="font-size:1em;white-space:pre-wrap">programming languages, here's how to say something roughly equivalent </span><span style="font-size:1em;white-space:pre-wrap">in Haskell -- BUT, here's how it's subtly different in Haskell.</span></font><br></div></div><div><font face="arial, sans-serif"><span style="font-size:1em;white-space:pre-wrap"><br></span></font></div><div><font face="arial, sans-serif"><span style="font-size:1em;white-space:pre-wrap">No. Just no. Haskell is not "subtly different" to (say) Java in the way that C++ or C# are different. (I'll leave others to judge how subtly different they are.)</span></font></div><div><font face="arial, sans-serif"><span style="font-size:1em;white-space:pre-wrap"><br></span></font></div><div><font face="arial, sans-serif"><span style="font-size:1em;white-space:pre-wrap">Haskell is dramatically and fundamentally different. You can't just 'translate' an algorithm from OOP to Haskell. Many newbies try, and there's many tales of woe on StackOverflow. Just No.</span></font></div><div><font face="arial, sans-serif"><span style="font-size:1em;white-space:pre-wrap"><br></span></font></div><div><font face="arial, sans-serif"><span style="font-size:1em;white-space:pre-wrap">I really don't know how you could have got any experience with Haskell and say "subtly".</span></font></div><div><font face="arial, sans-serif"><span style="font-size:1em;white-space:pre-wrap"><br></span></font></div><div><font face="arial, sans-serif"><span style="font-size:1em;white-space:pre-wrap">I suggest you unlearn everything you think you know about Haskell, and strike out in an entirely different direction. The best approach would be to spend a few days playing with lambda calculus. (That's what I did before tackling Haskell.)</span></font></div><div><span style="font-size:1em;white-space:pre-wrap"><font face="arial, sans-serif"><br></font></span></div><div><pre style="white-space:pre-wrap"><font face="arial, sans-serif">> (I've actually been curtly informed on the beginners' list -- yes, the beginner' list! -- that my problems of comprehension can be solved simply: "Learn lambda calculus.")</font></pre></div><div><span style="font-size:1em;white-space:pre-wrap"><font face="arial, sans-serif"><br></font></span></div><div><span style="font-size:1em;white-space:pre-wrap"><font face="arial, sans-serif">Lambda calculus is an excellent place for beginners to start. What could be easier to learn? It's certainly easier than grokking a Turing machine; and much easier than Haskell: less than a handful of primitives yet can compute anything computable.</font></span></div><div><span style="font-size:1em;white-space:pre-wrap"><font face="arial, sans-serif"><br></font></span></div><div><font face="arial, sans-serif"><span style="font-size:1em;white-space:pre-wrap">> </span><span style="font-size:1em;white-space:pre-wrap">And since the concepts are seldom described in </span><span style="font-size:1em;white-space:pre-wrap">concrete enough and time-honored programming language terms (by </span><span style="font-size:1em;white-space:pre-wrap">comparison to other programming languages) </span></font></div><div><span style="font-size:1em;white-space:pre-wrap"><font face="arial, sans-serif"><br></font></span></div><div><span style="font-size:1em;white-space:pre-wrap"><font face="arial, sans-serif">I'm guessing that the concepts you're talking of simply don't correspond to anything in time-honoured (procedural) programming. Anybody writing about Haskell (including anybody writing the User Guide) assumes a base level of understanding of Haskell. You've clearly veered off the track and haven't yet reached base. Remember the User Guide builds on top of the Language Report.</font></span></div><div><span style="font-size:1em;white-space:pre-wrap"><font face="arial, sans-serif"><br></font></span></div><div><span style="font-size:1em;white-space:pre-wrap"><font face="arial, sans-serif">(On the point of 'time-honoured': lambda calculus is almost exactly the same age as Turing machines. The first well-known programming language using lambda-calculus ideas (LISP 1966) is almost exactly the same age as the first OOP language (Simula 1967). Which is the more time-honoured?)</font></span></div><div><span style="font-size:1em;white-space:pre-wrap"><font face="arial, sans-serif"><br></font></span></div><div><span style="font-size:1em;white-space:pre-wrap"><font face="arial, sans-serif">You do have a point that the terminology in Haskell is often mysterious</font></span></div><div><span style="font-size:1em;white-space:pre-wrap"><font face="arial, sans-serif"><br></font></span></div><div><font face="arial, sans-serif"><font><span style="white-space:pre-wrap">> [SPJ said] </span></font><span style="font-size:1em;white-space:pre-wrap">F# had settled on the term "workflow" instead of "monad", </span><span style="font-size:1em;white-space:pre-wrap">and he felt this was wise.</span></font></div><div><font face="arial, sans-serif"><span style="font-size:1em;white-space:pre-wrap"><br></span></font></div><div><font face="arial, sans-serif"><span style="font-size:1em;white-space:pre-wrap">Yes many have yearned for a more warm-and-cuddly term than "monad". But the terminology barrier starts before that.</span></font></div><div><font face="arial, sans-serif"><span style="font-size:1em;white-space:pre-wrap"><br></span></font></div><div><font face="arial, sans-serif"><span style="font-size:1em;white-space:pre-wrap">Haskell typeclasses are not 'classes' in any sense recognisable from OOP. There are no objects, no hidden state, no destructive assignment. We might go back to February 1988 when a strawman for what became typeclasses used OVERLOAD/INSTANCE.</span></font></div><div><font face="arial, sans-serif"><span style="font-size:1em;white-space:pre-wrap"><br></span></font></div><div><font face="arial, sans-serif"><span style="font-size:1em;white-space:pre-wrap">AntC</span></font></div><div><font face="arial, sans-serif"><span style="font-size:1em;white-space:pre-wrap"><br></span></font></div><div><br></div><div><font face="arial, sans-serif"><span style="font-size:1em;white-space:pre-wrap"><br></span></font></div><div><font face="arial, sans-serif"><span style="font-size:1em;white-space:pre-wrap"><br></span></font></div></div>
_______________________________________________<br>Haskell-Cafe mailing list<br>To (un)subscribe, modify options or view archives go to:<br><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>Only members subscribed via the mailman list are allowed to post.</div></blockquote></div><br></div></div>_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Jeff Brown | Jeffrey Benjamin Brown</div><div dir="ltr"><a href="https://www.linkedin.com/in/jeffreybenjaminbrown" style="font-size:12.8px" target="_blank">LinkedIn</a><span style="font-size:12.8px"> </span><span style="font-size:12.8px">|</span><span style="font-size:12.8px"> </span><a href="https://github.com/jeffreybenjaminbrown" style="font-size:12.8px" target="_blank">Github</a> | <a href="https://twitter.com/carelogic" target="_blank">Twitter</a> | <a href="https://www.facebook.com/mejeff.younotjeff" style="font-size:12.8px" target="_blank">Facebook</a> | very old <a href="https://msu.edu/~brown202/" style="font-size:12.8px" target="_blank">Website</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>