- Garbage collection eliminates a class of bugs caused by erroneous memory management (forget to free, free too soon, free more than once).
- Garbage collection removes the need for APIs to describe contracts about memory management.
- Garbage collection facilitates programming styles such as first-class lexical closures in functional programming (see the Funarg problem).
State machines - Someone on the internet recently asserted that F# is “atrocious” for implementing state machines compared to C#. I just Googled C# state machine and foun...
2 months ago