Exception programming difficult

simendsjo simendsjo at gmail.com
Sun Aug 12 08:19:01 PDT 2012


On Sun, 12 Aug 2012 16:33:39 +0200, Adam D. Ruppe  
<destructionator at gmail.com> wrote:

> Perhaps a workable compromise is to make ddoc able to automatically  
> output the throws list.
>
> That way, we don't have the hassle of checks, but we do have a  
> maintained list at relatively no hassle.
>
>
> If you call a function to which the source code isn't available, ddoc  
> can just point you toward that function's docs. It won't be 100%  
> complete due to this, but I think it would be decent.

Once we get a lexer, parser and lint tool, undocumented parameters,  
exceptions etc could be marked as warnings too.
Looking into the future here of course :)


More information about the Digitalmars-d mailing list