Hello,
As I am still new to LISP, I am trying to develop a good understanding of LISP programming style. My question is if I have a program with multiple class definitions as well as method definitions, is it typical to place everything in one file or does the code get 'modularized' if you will. I have a current project which is rather large and to make the code more manageable I put the definitions for class1 and it's methods in file1, definitions for class2 and it's methods in file2,...,definitions for class1 and it's methods in file_n. Then in my main program I simply add the lines:
As I am still new to LISP, I am trying to develop a good understanding of LISP programming style. My question is if I have a program with multiple class definitions as well as method definitions, is it typical to place everything in one file or does the code get 'modularized' if you will. I have a current project which is rather large and to make the code more manageable I put the definitions for class1 and it's methods in file1, definitions for class2 and it's methods in file2,...,definitions for class1 and it's methods in file_n. Then in my main program I simply add the lines:
(load "file1")
...
(load file_n")
...
(remainder of code)
Is this acceptable LISP practice or is there a better way? Thanks