|
From: | Dmitry Gutov |
Subject: | Re: Do shorthands break basic tooling (tags, grep, etc)? (was Re: Shorthands have landed on master) |
Date: | Tue, 28 Sep 2021 16:08:13 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 28.09.2021 15:49, Phil Sainty wrote:
Allowing things to not be what they seem adds an additional cognitive load to *everything* you look at, because everything has the potential to not be what it seems, and so I think this makes codebases harder to read and understand, generally.
Perhaps we could alleviate this by requiring that shorthands end with a particular character (like '/' or ':'), so that if you see it in a name, it's probably a shorthand.
There is code out there which uses those characters as well, but it's not that frequent and could be phased out.
[Prev in Thread] | Current Thread | [Next in Thread] |