[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: On code quality, C, and C++ (was: Proposed: QS/QE macros for quotati
From: |
onf |
Subject: |
Re: On code quality, C, and C++ (was: Proposed: QS/QE macros for quotation in man(7)) |
Date: |
Fri, 20 Dec 2024 23:22:15 +0100 |
On Fri Dec 20, 2024 at 10:54 PM CET, onf wrote:
> Let's say I want to check out the need method of curdiv.
> To do that, I first need to figure out what object it is.
> Searching for curdiv eventually reveals it being declared
> in div.cpp as type `diversion`. Searching for diversion::need
> then finally reveals the desired method. If I chose something
> other than curdiv, I would have to figure out which header
> files declares it to figure out where to search for its
> definition.
s/its/the method's/
> I'm not saying it's an insurmountable obstacle by any means,
> but it's annoying. The fact that groff's code style doesn't make
> function- I mean method declarations easily greppable doesn't
> help, either. What I'm trying to get at is that in a good C code
> base, if I wanted to locate the definition of function div_need,
> I would simply run:
s/declarations/definitions/
- Re: Proposed: QS/QE macros for quotation in man(7), (continued)
- Re: Proposed: QS/QE macros for quotation in man(7), Dave Kemper, 2024/12/18
- Re: Proposed: QS/QE macros for quotation in man(7), Alejandro Colomar, 2024/12/18
- Re: Proposed: QS/QE macros for quotation in man(7), G. Branden Robinson, 2024/12/18
- Re: Proposed: QS/QE macros for quotation in man(7), G. Branden Robinson, 2024/12/18
- Re: Proposed: QS/QE macros for quotation in man(7), Alejandro Colomar, 2024/12/19
- Re: Proposed: QS/QE macros for quotation in man(7), onf, 2024/12/19
- Re: Proposed: QS/QE macros for quotation in man(7), G. Branden Robinson, 2024/12/19
- Re: Proposed: QS/QE macros for quotation in man(7), onf, 2024/12/20
- On code quality, C, and C++ (was: Proposed: QS/QE macros for quotation in man(7)), G. Branden Robinson, 2024/12/20
- Re: On code quality, C, and C++ (was: Proposed: QS/QE macros for quotation in man(7)), onf, 2024/12/20
- Re: On code quality, C, and C++ (was: Proposed: QS/QE macros for quotation in man(7)),
onf <=
- Re: Proposed: QS/QE macros for quotation in man(7), Alejandro Colomar, 2024/12/20
- Re: Proposed: QS/QE macros for quotation in man(7), Tadziu Hoffmann, 2024/12/20
- Re: Proposed: QS/QE macros for quotation in man(7), onf, 2024/12/20
- Re: Proposed: QS/QE macros for quotation in man(7), Tadziu Hoffmann, 2024/12/20
- Re: Proposed: QS/QE macros for quotation in man(7), onf, 2024/12/20
- Re: Proposed: QS/QE macros for quotation in man(7), Tadziu Hoffmann, 2024/12/20
- Re: Proposed: QS/QE macros for quotation in man(7), onf, 2024/12/20
- Re: Proposed: QS/QE macros for quotation in man(7), Tadziu Hoffmann, 2024/12/21
- Re: Proposed: QS/QE macros for quotation in man(7), G. Branden Robinson, 2024/12/19
- Re: Proposed: QS/QE macros for quotation in man(7), Alejandro Colomar, 2024/12/20