Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [PATCH RFC 0/5] Patches to avoid reporting conversion changes.

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:48:40

Sverre Rabbelier [off-list ref] writes:
On Sat, Apr 17, 2010 at 21:34, Randal L. Schwartz [off-list ref] wrote:
quoted
Yes, once it's already *in* the program.  But I bet you had to *look
them up* to add them.
Yes, but once they're there nobody has to look them up. It's moving
the problem from having to look up what it means on _and_ write, to
just write.
We use idiomatic C, e.g.

  if (!strcmp(option, "warn")) {

not

  if (strcmp(option, "warn") == 0) {


We use idiomatic Perl, e.g.

  %hash = map { $_ => 1 } @list;

not

  use English qw(-no_match_vars);

  %hash = map { $ARG => 1 } @list;

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help