public inbox for linux-doc@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Wilcox <willy@infradead.org>
To: Yorick de Wid <ydewid@gmail.com>
Cc: linux-doc@vger.kernel.org, corbet@lwn.net,
	Yorick de Wid <yorickdewid@users.noreply.github.com>
Subject: Re: [PATCH] docs: Remove the Microsoft rhetoric
Date: Mon, 8 Feb 2021 15:15:54 +0000	[thread overview]
Message-ID: <20210208151554.GR308988@casper.infradead.org> (raw)
In-Reply-To: <20210208150447.87104-1-ydewid@gmail.com>

On Mon, Feb 08, 2021 at 04:04:48PM +0100, Yorick de Wid wrote:
> From: Yorick de Wid <yorickdewid@users.noreply.github.com>
> 
> There is no need to need to name Microsoft. The point is clear without that context.
> 
> Signed-off-by: Yorick de Wid <ydewid@gmail.com>
> ---
>  Documentation/process/coding-style.rst | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/Documentation/process/coding-style.rst b/Documentation/process/coding-style.rst
> index 98227226c4e..5608ed2931f 100644
> --- a/Documentation/process/coding-style.rst
> +++ b/Documentation/process/coding-style.rst
> @@ -306,8 +306,7 @@ that counts the number of active users, you should call that
>  
>  Encoding the type of a function into the name (so-called Hungarian
>  notation) is asinine - the compiler knows the types anyway and can check
> -those, and it only confuses the programmer. No wonder Microsoft makes buggy
> -programs.
> +those, and it only confuses the programmer.

I'm not opposed to this, but it'd be nice to distinguish between Systems
Hungarian (which is what this paragraph is correctly excoriating) and
Apps Hungarian (which is actually useful and we should do more of):

https://www.joelonsoftware.com/2005/05/11/making-wrong-code-look-wrong/

  reply	other threads:[~2021-02-08 15:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-08 15:04 [PATCH] docs: Remove the Microsoft rhetoric Yorick de Wid
2021-02-08 15:15 ` Matthew Wilcox [this message]
2021-02-11 16:44 ` Jonathan Corbet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210208151554.GR308988@casper.infradead.org \
    --to=willy@infradead.org \
    --cc=corbet@lwn.net \
    --cc=linux-doc@vger.kernel.org \
    --cc=ydewid@gmail.com \
    --cc=yorickdewid@users.noreply.github.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox