Sujet : Re: Which code style do you prefer the most?
De : janis_papanagnou+ng (at) *nospam* hotmail.com (Janis Papanagnou)
Groupes : comp.lang.cDate : 26. Feb 2025, 13:25:53
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vpn18i$2icea$1@dont-email.me>
References : 1 2 3 4 5 6 7 8
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 26.02.2025 09:41, David Brown wrote:
[...]
Even then, however, I would suggest challenging the status quo.
Definitely.
That
does not mean overriding the existing style choices, but it /does/ mean
questioning them. Just because a project, company, or group has always
used a particular style, does not mean there are good reasons for the
choices - or that the original reasons are still relevant. Of course
changing the style of existing code, or code added to an existing
project, requires a lot stronger motivation than "I think it looks
nicer" reasoning which is fine for picking your own style for your own
code.
Style choices - like pretty much anything else in software development -
should not be set in stone. Equally, it should not be changed lightly.
Janis