We put a lot of thought into this; the idea is that if you're using 'Debug', you want good debugging (so turn off tail calls that may elide stack frames that can be useful for debugging). If you want them back on, just tick the checkbox (project properties, 'build' tab, 'generate tail calls' checkbox).

It's a tough trade-off here, and you can't please everyone with defaults, so you go after what's hopefully the majority customer/scenario, and make the rest easy to configure/switch. If you need tail calls for your app correctness while debugging, then just go tick the one checkbox and you're golden.

EDIT

Here's a nice blog entry on the topic:

[link:thevalerios.net]

By on 6/13/2009 1:12 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper