Posted by Tony Marston on 08/04/06 14:12
"Tim Hunt" <tim.n.hunt@gmail.com> wrote in message
news:1154650814.847154.292670@i3g2000cwc.googlegroups.com...
>
> Tony Marston wrote:
>> "Tim Hunt" <tim.n.hunt@gmail.com> wrote in message
<snip>
>> >
>> > MY BIG PROBLEM IS THAT CASE INSENSITIVE LANGUAGES SEEMS TO ENCOURAGE
>> > PEOPLE TO PRESS THE CAPS LOCK KEY ONCE THEN START TYPING OUT BIG BLOCKS
>> > OF CODE IN ALL CAPITALS. THIS MAKES THE CODE HARDER TO READ THAN IT
>> > SHOULD BE. IT SEEMS YOU HAVE TO READ MOST EVERYTHING SLOWLY AND
>> > CAREFULLY TO MAKE SURE THAT EVERYTHING IS CLEAR. ITS ONE OF THE MAIN
>> > REASONS I LIKE THE C BASED LANGUAGES.
>> >
>> > Clearer now...Its something that can only happen in case insensitive
>> > languages and its a habit that seems way too common.
>>
>> I disagree. The fact that I *can* use upper case for everything does not
>> mean that I *should*, and I don't.
>>
>
> http://www.tonymarston.net/cobol/menu-int.html#appendix-a
>
If you look carefully you should see a purpose behind that use of capital
letters. The standard code is in upper case while the bits which are
substituted at runtime are in lower case. I am using case to emphasize what
is fixed and what is variable.
Not so stupid, after all.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
Navigation:
[Reply to this message]
|