How to organize functional programs
Posted
by
bleakcabal
on Programmers
See other posts from Programmers
or by bleakcabal
Published on 2011-11-30T02:44:35Z
Indexed on
2011/11/30
10:32 UTC
Read the original article
Hit count: 223
functional-programming
In OOP, your basic unit of organization for code is the class. A frequently used methodology in Java, C# and similar languages is to organize your code around having one file for each class with the file name following the class name.
You can consider each of these class as a unit of organization to group a single concept.
These classes are in in namespaces which often follow the directory structure of the files in the solution/project. Namespaces are another level of organization.
How are large projects in functional languages typically organized?
How to you determine how to split your functions into different files?
Are other units of grouping beside files used?
How is code typically organized within a single file?
© Programmers or respective owner