help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DynamicBindingVsLexicalBinding


From: Andreas Röhler
Subject: DynamicBindingVsLexicalBinding
Date: Sat, 12 Oct 2013 19:56:26 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0

Hi,

in article

http://www.emacswiki.org/emacs/DynamicBindingVsLexicalBinding

it's said WRT lexical binding

"Because it's (1) much easier for the user [that is, programmer], because
it eliminates the problem of which variables lambda-expressions use
(when they attempt to use variables from their surrounding context)"

Unfortunately couldn't find a use-case where it is easier - while consenting it 
might be easier for the compiler to swallow.

Could someone give an example, where lexical binding makes coding easier?

TIA,

Andreas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]