The source content for blog.juliobiason.me
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

120 lines
4.9 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- Enable responsiveness on mobile devices-->
<!-- viewport-fit=cover is to support iPhone X rounded corners and notch in landscape-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, viewport-fit=cover">
<title>Julio Biason .Me 4.3</title>
<!-- CSS -->
<link rel="stylesheet" href="https://blog.juliobiason.me/print.css" media="print">
<link rel="stylesheet" href="https://blog.juliobiason.me/poole.css">
<link rel="stylesheet" href="https://blog.juliobiason.me/hyde.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
</head>
<body class=" ">
<div class="sidebar">
<div class="container sidebar-sticky">
<div class="sidebar-about">
<a href="https:&#x2F;&#x2F;blog.juliobiason.me"><h1>Julio Biason .Me 4.3</h1></a>
<p class="lead">Old school dev living in a 2.0 dev world</p>
</div>
<ul class="sidebar-nav">
<li class="sidebar-nav-item"><a href="&#x2F;">English</a></li>
<li class="sidebar-nav-item"><a href="&#x2F;pt">Português</a></li>
<li class="sidebar-nav-item"><a href="&#x2F;tags">Tags (EN)</a></li>
<li class="sidebar-nav-item"><a href="&#x2F;pt&#x2F;tags">Tags (PT)</a></li>
</ul>
</div>
</div>
<div class="content container">
<div class="post">
<h1 class="post-title">Imperative to Functional Programming Succinctly - Marc Clifton</h1>
<span class="post-date">
2016-12-30
<a href="https://blog.juliobiason.me/tags/books/">#books</a>
<a href="https://blog.juliobiason.me/tags/marc-clifton/">#marc clifton</a>
<a href="https://blog.juliobiason.me/tags/programming/">#programming</a>
<a href="https://blog.juliobiason.me/tags/functional/">#functional</a>
<a href="https://blog.juliobiason.me/tags/c/">#c#</a>
<a href="https://blog.juliobiason.me/tags/f/">#f#</a>
<a href="https://blog.juliobiason.me/tags/reviews/">#reviews</a>
<a href="https://blog.juliobiason.me/tags/it/">#it</a>
<a href="https://blog.juliobiason.me/tags/stars-1/">#stars:1</a>
<a href="https://blog.juliobiason.me/tags/published-2014/">#published:2014</a>
</span>
<p><a href="https://www.goodreads.com/book/show/23434690-imperative-to-functional-programming-succinctly">GoodReads Summary</a>:
Functional programming is fundamentally different from imperative programming.
As such, it provides a unique approach to solving problems—one that requires
developers to transform how they think about software design and
implementation. With Imperative to Functional Programming Succinctly by Marc
Clifton, you will learn many of the basic concepts involved with functional
programming, such as currying, partial application, function pipelines,
recursion, and continuations. By book's end, you will learn how to combine
functional and imperative programming to get the most out of your solutions.</p>
<span id="continue-reading"></span><div>
★☆☆☆☆
</div>
<p>I know the &quot;Succinctly&quot; series doesn't go deep into a topic, but this book
takes a step further by not even respecting its own title.</p>
<p>The correct title would be &quot;C# to F# Succinctly&quot;.</p>
<p>The reason is that there isn't many explanations about &quot;functional
programming&quot;, in the general sense, in this book. Here, most things are
explained in the F# context, which, as the author points, isn't a pure
functional language.</p>
<p>Also, it goes great lengths to make code unreadable by avoiding proper
variable names and using things like &quot;hd&quot; and &quot;tl&quot; (instead of, say, &quot;user&quot;
and &quot;remaining_users&quot;) and &quot;racc&quot; and &quot;lacc&quot; instead of &quot;sum_right&quot; and
&quot;sum_left&quot; (although I could point that this <em>seems</em> like a functional
programming thing).</p>
<p>So, again: Want to use your knowledge of imperative programming to learn
functional programming? Sorry, not this book. Know C# and want to learn F#?
Then you have something to read.</p>
</div>
</div>
</body>
</html>