How to organize F# source of large project (>300 classes) in Visual Studio?

前端 未结 2 1765
耶瑟儿~
耶瑟儿~ 2020-12-05 05:14

In C# you can put files in folders corresponding to their namespaces and view them in the Solution explorer.

In F# it seems I have to put everything

2条回答
  •  忘掉有多难
    2020-12-05 05:42

    You can have folders in F# projects, too. It's a bit cumbersome, but it works.

    I think putting multiple classes into one file is perfectly okay and idiomatic in F# if the classes are closely related to each other.

    I have not yet worked with really large F# projects, but I'm also interested in the experience of others.

提交回复
热议问题