[GTALUG] Hardcore sed foo
Alvin Starr
alvin at netvel.net
Sat Nov 9 13:55:24 EST 2019
On 11/9/19 9:34 AM, Anthony de Boer via talk wrote:
> Dave Collier-Brown via talk wrote:
>> On 2019-11-08 11:41 a.m., Giles Orr via talk wrote:
>>> Eyeballing simple regex is hard enough, but mentally parsing out a
>>> complex full line regex that looks like inline garbage without the
>>> benefit of comments isn't something I recommend or appreciate.
>> An early boss described it as "programming in line noise".
> I've seen too many cases where the comments explaining what a block of
> code did were *wrong*, and debugging took far too long due to coders
> reading, trusting, or simply being distracted by this alternate theory of
> what the code was doing.
>
It was hard to write. It should be hard to understand.
--
Alvin Starr || land: (647)478-6285
Netvel Inc. || Cell: (416)806-0133
alvin at netvel.net ||
More information about the talk
mailing list