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.

Using Monads in C++ to Solve Constraints: Refactoring

19 pointsby andrzejszalmost 10 years ago

1 comment

taericalmost 10 years ago
<p><pre><code> Functional programs are amazingly easy to factorize. Anybody who tried to factorize C++ code can testify to how hard it is, and how long it takes to iron out all the bugs introduced by factorization. With functional code, it’s a breeze. </code></pre> Is it really &quot;with functional code&quot; or more &quot;with toy problems that never had performance related changes made to it?&quot;