git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Completion of error handling

From
Andreas Ericsson <ae@op5.se>
Date
Feb 16, 2010, 10:56 UTC
Message-ID
<4B7A79F0.1070100@op5.se>
In-Reply-To
<4B740153.4010600@web.de>
On 02/11/2010 02:08 PM, Markus Elfring wrote:
Show 9 quoted lines
> 
>>
>> What is the likelihood for those function calls to actually fail?
>>
> 
> How do you think about the usual design choices that are described in
> the article "Exception Handling Alternatives" by Detlef Vollmann.
> http://accu.org/index.php/journals/546
> 

That's an awful lot of text to read that's hardly relevant for a C program. Most of it regards newbie stuff about how to handle reporting an error when you can't use a C++ exception.

Show 5 quoted lines
> 
> I propose to write pointcuts for all functions that can return values.
> Some corresponding error codes are checked already. But there a places
> in the source files with open issues for complete software robustness.
> 

You keep on claiming that but haven't proven it in any way. If you could point out a real bug I'm very, very certain it would be fixed within 24 hours.

Show 8 quoted lines
> Are there any chances to encapsulate more cross-cutting concerns as
> reusable aspects?
> 
> Would you like to integrate tools like the following into your software
> development process?
> - AspectC++
>    http://aspectc.org/
> 

Git is written in C, not C++. Using aspectc++ would mean requiring the use of a C++ compiler, which git doesn't require today. That's one step backwards in portability which I seriously doubt the usefulness of aspectc++ can outweigh.

Now please stop trolling and find one of these bugs you keep talking about but never showing. We've made it painfully clear to you that we're interested in realworld problems rather than potential ones, so all this "use this model for development" just reeks of concept evangelism. No real engineer likes that, which is why you're facing such massive opposition on this list.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.
Previous: Markus ElfringNext: Markus Elfring
Message 13 of 14 in “Completion of error handling”
  1. Markus ElfringFeb 2, 2010
  2. Nicolas PitreFeb 2, 2010
  3. Markus ElfringFeb 2, 2010
  4. Nicolas PitreFeb 2, 2010
  5. Markus ElfringFeb 2, 2010
  6. Avery PennarunFeb 2, 2010
  7. Markus ElfringFeb 2, 2010
  8. Avery PennarunFeb 2, 2010
  9. Markus ElfringFeb 2, 2010
  10. Avery PennarunFeb 2, 2010
  11. Markus ElfringFeb 2, 2010
  12. Markus ElfringFeb 11, 2010
  13. Andreas EricssonFeb 16, 2010
  14. Markus ElfringFeb 18, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.