[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: A tiny matter of style
- From: Albert Chan <albertmcchan@...>
- Date: Thu, 10 May 2018 12:44:05 -0400
> On May 10, 2018, at 11:29 AM, KHMan <firstname.lastname@example.org> wrote:
>> "Code Complete" recommend AGAINST end comment
>> -- Albert
> Sure, it's a useful guideline. But let's not zip ourselves into a book-learning straitjacket.
> I used a Bruce Lee quote on this kind of discussion once, let me try it from a related angle. :-) In Chinese kungfu stories/movies/series, what plot device does one often see? The loyal disciple who diligently learns the forms but is rigid gets beaten up. Who wins the day? The one who internalizes the forms, then go formless...
Guideline(s) are needed because you might re-read the
code months later. DO NOT go "Bruce Lee" on the code.
And, PLEASE, do not go "formless" !