emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System calls without error checks in w32


From: Eli Zaretskii
Subject: Re: System calls without error checks in w32
Date: Mon, 31 May 2010 06:05:37 +0300

> From: Lennart Borgman <address@hidden>
> Date: Mon, 31 May 2010 00:37:26 +0200
> Cc: Eli Zaretskii <address@hidden>, address@hidden
> 
> On a quick look I got the impression that file calls are better
> handled than GUI system calls.

That's because when it happens with files, it's quite clear what to
do.  But what do you do when you try to display a menu, and the API
returns an error?

> So both you and Eli think that way is ugly.

It obfuscates the source code, that's the main problem.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]