Sujet : Re: question about linker
De : janis_papanagnou+ng (at) *nospam* hotmail.com (Janis Papanagnou)
Groupes : comp.lang.cDate : 02. Dec 2024, 20:02:14
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vil07n$3gtp3$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 02.12.2024 19:13, Scott Lurndal wrote:
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
On 01.12.2024 17:42, Bart wrote:
On 01/12/2024 15:08, Janis Papanagnou wrote:
On 01.12.2024 12:52, Bart wrote:
makes typing easier because it is case-insensitive,
>
I don't think that case-insensitivity is a Good Thing. (I also don't
think it's a Bad Thing.)
I think it's a _real bad thing_ in almost every context related
to programming.
Can you give some hints (or keywords) to be able to better understand
your opinion?
As you see, I have no strong opinion on that. In the past I've worked
with languages of both sorts, and I never felt an urge to complain;
I suppose because the languages tend to consider their design on all
boundary conditions, and in cases where there's only upper characters
are available on a [legacy-]system the language designers certainly
tried to make the best out of it. - I use what's provided/supported.
>
But I want my software maintainable and readable. So my experience
is that I want some lexical "accentuation"; common answers to that
are for identifiers (for example) Camel-Case (that I used in C++),
underscores (that I use in Unix shell, Awk, etc.), or spaces (like
in Algol 68, but which is practically irrelevant for me).
CamelCase reduced typing speed and adds little benefit when compared
with the alternatives (rational abbreviations, or even underscores).
I cannot follow your speed argument - for speed questions ask Bart ;-)
For camel-case I need just the Shift-key, and underscores requires
me to type an extra character, the underscore (which also needs the
Shift-key), so the latter should be slower (and [for me] is slower).
Using abbreviations is an orthogonal concept that you can use with
underscores and camel-case or with anything else (including use it
alone; which is not what I typically do [unless standard abbrevs.]).
Here as well, I use what what appears to serve me best in the given
context. (Unless in company's project contexts where we define and
use standards and conventions.)
Janis