Re:Google Common Lisp style guide
by lioeters on Tuesday July 07, 2020 @04:43PM
(#23763820)
Indeed, for what are classes and functions but specific kinds of macro (roughly speaking); or, macros and classes as special kinds of functions..
I'd include overloading operators in that list. It can be convenient, but comes at a cost to newcomers to the codebase.
I suppose any kind of shortcut or abbreviation carries this risk, to increase the cognitive load of the reader - things they have to remember and mentally substitute the shortcuts until they become second nature.
(Oh, right, what we call "shortcut" and "indirection" are both examples of abstraction, its value and cost.)
I'd include overloading operators in that list. It can be convenient, but comes at a cost to newcomers to the codebase.
I suppose any kind of shortcut or abbreviation carries this risk, to increase the cognitive load of the reader - things they have to remember and mentally substitute the shortcuts until they become second nature.
(Oh, right, what we call "shortcut" and "indirection" are both examples of abstraction, its value and cost.)