Re: [hackers] [quark] Rewrite quark from the ground up again || Laslo Hunhold

From: Anselm R Garbe <garbeam_AT_gmail.com>
Date: Wed, 21 Jun 2017 10:55:20 +0200

Hi there,

I appreciate that quark is progressing, however

On 20 June 2017 at 21:45, <git_AT_suckless.org> wrote:
> -enum stati {
> +enum req_field {
> +enum req_method {
> +struct request {
> +enum status {

I really dislike using lowercase enum and struct names. Types should
always be easily distinguishable from global / local variable names
and shouldn't be required to be qualified with enum or struct in the
code (I highly prefer typedef for this eye candy).

I also dislike extending _t or _e or similar postfixes to type names.
Hence I adopted the Plan 9 style a while back to use capitalized type
names. Afair also our coding style suggests that.

Best regards,
Anselm
Received on Wed Jun 21 2017 - 10:55:20 CEST

This archive was generated by hypermail 2.3.0 : Wed Jun 21 2017 - 11:00:18 CEST