[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/
From: |
Kaushal Modi |
Subject: |
Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/ |
Date: |
Mon, 19 Jun 2017 10:14:53 +0000 |
There is absolutely no drawback in using lexical binding. Since Org
9.0, it _is_ the default for Org core: almost every Org library
activates it nowadays.
Again, lexical binding has _no_ drawback and makes life of developers
easier (e.g., code is more readable, compiler reports more errors).
I moved almost every library in Org to lexical binding, some changes
being trivial, some painful, for a reason. I don't want to do a step
backward in that area without a very strong reason–to tell the truth,
even a strong reason wouldn't convince me.
Here are some of my observations on the topic of lexical-binding by following emacs-devel closely for the past few years.
It has become a norm to write new elisp code that is lexical-binding friendly.
The idea is that once almost all the elisp code out there is lexical-binding compatible, the default of emacs can be changed to that and dynamic binding can be obsoleted.
I have also seen how a lexically bound package is more portable as there is no implicit reliance on global variables from multiple other packages.
--
- Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/, (continued)
- Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/, Nicolas Goaziou, 2017/06/17
- Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/, Bastien Guerry, 2017/06/18
- Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/, Nicolas Goaziou, 2017/06/18
- Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/, Bastien Guerry, 2017/06/18
- Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/, Nicolas Goaziou, 2017/06/18
- Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/, Bastien Guerry, 2017/06/18
- Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/, Nicolas Goaziou, 2017/06/19
- Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/,
Kaushal Modi <=
- Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/, Bastien Guerry, 2017/06/19
- Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/, address@hidden, 2017/06/19