3 ms·
> I often use the "Thing thing" approach to variable declaration The Pascal way would be to use the "T" convention for the name of the type. So "thing : TThing
by clouddrover 8y ago
> I often use the "Thing thing" approach to variable declaration
The Pascal way would be to use the "T" convention for the name of the type. So "thing : TThing".
- jstimpfle 8y agoYes, but it's one extra verbose character, and it's also not a waterproof systematic. E.g., the type "THat" would clash with the variable "that". Instead I want the simple, obvious, and reliable thing: string comparison is comparison of byte arrays. No problems.
- clouddrover 8y agoCase insensitivity is simply not a practical problem. The "THat" versus "that" scenario won't compile and is trivial to address.
- jstimpfle 8y agoMy point is that the systematic is an inferior workaround to the obvious case-sensitive approach that would be simpler to implement, simpler to explain, and wouldn't have any of these problems to begin with. It's completely pointless. Maybe people who somehow don't differentiate between 'T' and 't', and are not visually remembering persons, don't have this problem. But for me, and for computers, they are different characters.