TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The Soft Side of Software

102 pointsby k4rtikabout 8 years ago

6 comments

lindberghabout 8 years ago
Erik Meijer a very engaging person! If I recall correctly, he spearheaded the Linq project for C# back in mid-2000s.<p>In particular, I suggest his Haskell lectures to anyone interesting by theoretical aspects of functional programming. <a href="https:&#x2F;&#x2F;channel9.msdn.com&#x2F;Series&#x2F;C9-Lectures-Erik-Meijer-Functional-Programming-Fundamentals&#x2F;Lecture-Series-Erik-Meijer-Functional-Programming-Fundamentals-Chapter-1" rel="nofollow">https:&#x2F;&#x2F;channel9.msdn.com&#x2F;Series&#x2F;C9-Lectures-Erik-Meijer-Fun...</a>
评论 #14329428 未加载
riwskyabout 8 years ago
In case people were wondering, the haskell stdlib answer to his interview question is at <a href="https:&#x2F;&#x2F;hackage.haskell.org&#x2F;package&#x2F;transformers-0.5.2.0&#x2F;docs&#x2F;src&#x2F;Control.Monad.Trans.Cont.html#ContT" rel="nofollow">https:&#x2F;&#x2F;hackage.haskell.org&#x2F;package&#x2F;transformers-0.5.2.0&#x2F;doc...</a> (ContT is a generalized form which lets people run, for example, computations that involve IO). Though explaining it is still the fun part.
zengidabout 8 years ago
I know it&#x27;s easy (and fun) to hate on Microsoft, but damn do they employ some great engineers&#x2F;researchers: Erik Meijer, Anders Hejlsberg, Simon Peyton Jones, etc..
评论 #14329584 未加载
评论 #14328415 未加载
评论 #14329041 未加载
zengidabout 8 years ago
Can anyone help me interpret the type signature Meijer used in his programming question? &quot;Given a generic type:<p><pre><code> Cont r a = (a -&gt; r) -&gt; r </code></pre> Prove that this type forms a monad.&quot;<p>I&#x27;m reading it as &#x27;Container&#x27; passed &#x27;r&#x27; and &#x27;a&#x27; performs &#x27;a&#x27; to &#x27;r&#x27; which returns &#x27;r&#x27;. (I&#x27;m guessing on verbs here)..<p>I&#x27;ve never come across a good way to read these type signatures.
评论 #14327474 未加载
评论 #14328142 未加载
评论 #14327589 未加载
评论 #14327422 未加载
评论 #14327423 未加载
tempodoxabout 8 years ago
&gt; ... prove that this type forms a monad.<p>How do I “prove” a type forms a monad? I only have to implement `lift` and `bind` with the correct behavior, and I have a monadic interface. Did I prove then that the type forms a monad?
评论 #14330693 未加载
gumbyabout 8 years ago
While I agree with this point:<p>&gt; Good developers understand that they can&#x27;t do everything, and they know how to leverage tools as prosthetics for their brains.<p>it can also become a distracting fetish.