blob: efd37625039237d2dbb695524b9a3ee71c5dbcc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
This is a list of blog-ish websites where I found insightful stuff
that I would like not to forget.
# LispCast
Eric Normand's musings on programming paradigms and their application,
with a soft spot for functional programming.
[When in doubt, refactor at the bottom] (2017)
: Quoting Sandi Metz:
> Duplication is far cheaper than the wrong abstraction.
The point being that blindly following the letter of the DRY law
can lead developers to add complexity to extracted functions
because "it almost does what I want; if I could add just one more
parameter to it…".
Normand and Metz encourage developers to "mechanically" extract
small pieces of logic; even if they are not re-usable, bundling
things together and naming them helps make the potential
abstractions more visible.
[Programming Paradigms and the Procedural Paradox] (2017)
: A discussion on our tendency to conflate *paradigms* with their
*features*; for example, when trying to answer "can this language
express that paradigm?", we often reduce the question to "does
this language possess those features?".
Normand wonders whether we do this because the procedural
paradigm's metaphor (a series of steps that each may contain any
number of sub-tasks) maps so well to its features (sequential
statements, subroutines) that it trained us to mix those up.
[When in doubt, refactor at the bottom]: https://lispcast.com/refactor-bottom/
[Programming Paradigms and the Procedural Paradox]: https://lispcast.com/procedural-paradox/
|