Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH v2 3/6] sha1_name: avoid Yoda conditions

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:57:05

Junio C Hamano [off-list ref] writes:
Felipe Contreras [off-list ref] writes:
quoted
Yoda speaks in reverse "Stopped they must be; on this all depends".
"if (0 < len)" says "if zero is less than len", which is in reverse,
as reverse as "if 1.50 is taller than you". It's all reversed: "if you
are taller than 1.50", "if len is greater than zero", "They must be
stopped; all depends on this".

I don't understand what is not clear.
I never said anything is "not clear", did I [*1*]?
Ahh, OK.

Earlier I did not see the link between "Yoda" and "const op var"
that is "speak in reverse".  So I did say "not clear" or an
equivalent of it, and you clarified it with "reverse" here.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help