public inbox for linux-doc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] docs: Remove the Microsoft rhetoric
@ 2021-02-08 15:04 Yorick de Wid
  2021-02-08 15:15 ` Matthew Wilcox
  2021-02-11 16:44 ` Jonathan Corbet
  0 siblings, 2 replies; 3+ messages in thread
From: Yorick de Wid @ 2021-02-08 15:04 UTC (permalink / raw)
  To: linux-doc, corbet; +Cc: Yorick de Wid, Yorick de Wid

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.
 
 LOCAL variable names should be short, and to the point.  If you have
 some random integer loop counter, it should probably be called ``i``.
-- 
2.30.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs: Remove the Microsoft rhetoric
  2021-02-08 15:04 [PATCH] docs: Remove the Microsoft rhetoric Yorick de Wid
@ 2021-02-08 15:15 ` Matthew Wilcox
  2021-02-11 16:44 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Matthew Wilcox @ 2021-02-08 15:15 UTC (permalink / raw)
  To: Yorick de Wid; +Cc: linux-doc, corbet, Yorick de Wid

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs: Remove the Microsoft rhetoric
  2021-02-08 15:04 [PATCH] docs: Remove the Microsoft rhetoric Yorick de Wid
  2021-02-08 15:15 ` Matthew Wilcox
@ 2021-02-11 16:44 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2021-02-11 16:44 UTC (permalink / raw)
  To: Yorick de Wid, linux-doc

Yorick de Wid <ydewid@gmail.com> writes:

> 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.

Yeah, the time for that has probably passed.  Applied, thanks.

jon

P.S. This CC line in your original:

> Cc: Yorick de Wid <yorickdewid@users.noreply.github.com>, Yorick de Wid <ydewid@gmail.com>

Seems sure to create errors; maybe that could be left out in the future?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-11 16:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-08 15:04 [PATCH] docs: Remove the Microsoft rhetoric Yorick de Wid
2021-02-08 15:15 ` Matthew Wilcox
2021-02-11 16:44 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox