[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What does "lacks a prefix" mean?
From: |
Emanuel Berg |
Subject: |
Re: What does "lacks a prefix" mean? |
Date: |
Tue, 14 Jul 2015 01:47:26 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Yuri Khan <yuri.v.khan@gmail.com> writes:
> Variable dependencies start to matter a lot when
> you’re trying to refactor code — e.g. to extract
> part of a function into a new function of its own.
> In this case, variables shared by the code that
> stays and the code that moves out are a source of
> complexity, and their number may be a factor in
> deciding which refactoring the code actually wants.
If you are to muck around with old code, which seldom
is a good idea but sometimes necessary (?), then doing
so will be helped to an unfathomable degree if the
"let* style" has been applied when the code was
originally written, as computation is stepwise
performed and each step is named and put neatly into
a nice looking column!
It is, on the contrary, the "let style" with
(let ((entity (computation_1 (computation_2 ( ... )))))
... )
which is much more difficult to write, not to mention
read, debug, and later maintain and modify.
"Variable dependencies" is all schoolbook stuff -
forget about it, the sooner the better, because it
doesn't work like that. It doesn't increase
"complexity", whatever that is.
--
underground experts united
http://user.it.uu.se/~embe8573
- Re: What does "lacks a prefix" mean?, (continued)
- Message not available
- Re: What does "lacks a prefix" mean?, Barry Margolin, 2015/07/09
- Re: What does "lacks a prefix" mean?, Rusi, 2015/07/09
- Re: What does "lacks a prefix" mean?, Emanuel Berg, 2015/07/09
- Message not available
- Re: What does "lacks a prefix" mean?, Rusi, 2015/07/09
- Re: What does "lacks a prefix" mean?, Emanuel Berg, 2015/07/10
- RE: What does "lacks a prefix" mean?, Drew Adams, 2015/07/09
- Re: What does "lacks a prefix" mean?, Emanuel Berg, 2015/07/11
- RE: What does "lacks a prefix" mean?, Drew Adams, 2015/07/12
- Re: What does "lacks a prefix" mean?, Emanuel Berg, 2015/07/12
- Re: What does "lacks a prefix" mean?, Yuri Khan, 2015/07/13
- Re: What does "lacks a prefix" mean?,
Emanuel Berg <=
- Re: What does "lacks a prefix" mean?, Yuri Khan, 2015/07/14
- Re: What does "lacks a prefix" mean?, Emanuel Berg, 2015/07/14
- Re: What does "lacks a prefix" mean?, Robert Thorpe, 2015/07/18
- Re: What does "lacks a prefix" mean?, Emanuel Berg, 2015/07/27
- Re: What does "lacks a prefix" mean?, Robert Thorpe, 2015/07/29
- Message not available
- Re: What does "lacks a prefix" mean?, Rusi, 2015/07/29
- Re: What does "lacks a prefix" mean?, Rusi, 2015/07/29
- Re: What does "lacks a prefix" mean?, Emanuel Berg, 2015/07/09