Deep nesting vs early returns

Paolo Invernizzi paolo.invernizzi at gmail.com
Sat Oct 6 19:29:44 UTC 2018


On Saturday, 6 October 2018 at 18:55:48 UTC, Patrick Schluter 
wrote:
> On Saturday, 6 October 2018 at 05:36:59 UTC, Paolo Invernizzi 
> wrote:
>>[...]
> In the 90s I used to add the C preprocessor to other languages 
> which lacked efficient constant definition (i.e. compile time 
> constructs). AutoLISP, the LISP dialect used to write 
> application in AutoCAD. There were nearly a 100 of small 
> programs in different files and throughout the whole project 
> there were a lot repetitions that could not be factorized with 
> AutoCAD means. Include, define and ifdef allowed to do things, 
> that were very difficult to do at that time (it was on AutoCAD 
> v9.0 which had only 64K memory for the LISP code).
> I also added the C preprocessor to the DBASE III and the 
> compatible MS-DOS based Foxbase.

Fox, the speediest indexes in the country... what a time! :-P

/P


More information about the Digitalmars-d mailing list