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

Re: [PATCH v3] CodingGuidelines: discourage arbitrary suffixes in function names

From
karthik nayak <karthik.188@gmail.com>
Date
Oct 24, 2024, 11:02 UTC
Message-ID
<CAOLa=ZTJoUCMJhnak-tRpftN+3Txuz-B1_+pF6s8xtZ2BP3A5g@mail.gmail.com>
In-Reply-To
<20241024105357.2605168-1-karthik.188@gmail.com>
Karthik Nayak <karthik.188@gmail.com> writes:
Show 5 quoted lines
> We often name functions with arbitrary suffixes like `_1` as an
> extension of another existing function. This creates confusion and
> doesn't provide good clarity into the functions purpose. Let's document
> good function naming etiquette in our CodingGuidelines.
>

I replied to the wrong ID, the previous versions can be found here: https://lore.kernel.org/git/20241021124145.636561-1-karthik.188@gmail.com/#t

Previous: Karthik NayakNext: Taylor Blau
Message 2 of 3 in “CodingGuidelines: discourage arbitrary suffixes in function names”
  1. CodingGuidelines: discourage arbitrary suffixes in function namesKarthik Nayak, Oct 24, 2024
  2. karthik nayakOct 24, 2024
  3. Taylor BlauOct 24, 2024

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.