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.
121 lines
4.9 KiB
121 lines
4.9 KiB
11 months ago
|
<!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://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="/">English</a></li>
|
||
|
|
||
|
<li class="sidebar-nav-item"><a href="/pt">Português</a></li>
|
||
|
|
||
|
<li class="sidebar-nav-item"><a href="/tags">Tags (EN)</a></li>
|
||
|
|
||
|
<li class="sidebar-nav-item"><a href="/pt/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 "Succinctly" 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 "C# to F# Succinctly".</p>
|
||
|
<p>The reason is that there isn't many explanations about "functional
|
||
|
programming", 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 "hd" and "tl" (instead of, say, "user"
|
||
|
and "remaining_users") and "racc" and "lacc" instead of "sum_right" and
|
||
|
"sum_left" (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>
|