Previous: , Up: SEL Coding Standards   [Contents][Index]


D.12 Judicious use of Indentation macros

Keeping code to within 80 columns can be difficult when deeply nested forms or chained function calls consume most of your column budget for indentation. The UIOP/UTILITY:NEST macro (see uiop/utility.lisp) is an excellent flexible option to reduce nesting (see A tale of many nests).

Use of nest should generally be preferred to “arrow” macros, (see https://github.com/hipeta/arrow-macros). The nest macro is simpler and more generally useful than the arrow macros. However, the arrow macros are an acceptable option which are already used widely within SEL.