[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] Should we rename and untypedef nano's structs?
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] Should we rename and untypedef nano's structs? |
Date: |
Mon, 20 Aug 2018 19:57:41 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Op 20-08-18 om 00:46 schreef Devin Hussey:
> There are a few ways to name your functions, variables, etc.
>
> There is snake case, used by Rust, nano, glib, Python, and the STL. It
> uses all lowercase separated by underscores.
> size_t std::string::find_first_of();
If it is used by nano, then that is what we will use.
(There are some names that lack underscores, where the words are
allruntogether, but I think that is fine: too many underscores are
bad for your health.)
> Lastly, there is the abbreviated mess that C's standard library uses:
> [...]
Certainly not. I hate abbrevs.
Benno
signature.asc
Description: OpenPGP digital signature