A cool head
- Posted by Alan Tu <ATU5713 at COMPUSERVE.COM> Sep 09, 1998
- 540 views
ALl right. Here we go: Jiri wrote: case sensitivity: I prefer to use the case for my own purposes. I know this is not going to be terribly popular, and I suppose it also saves a millisecond or two while parsing... John D (sorry) wrote: Writing function and variable names in different cases makes your program harder for others to read. This is bad: EU is good. What is the problem? Different cases are distinct? I don't know what either of you are talking about! Jiri wrote: unnecessarily long words and redundant brackets: sometimes I feel 'procedure' must be the longest word in the English dictionary... Why to use integer, constant, sequence, procedure when everybody else is using int, const, list and proc or def? And, please, do not tell me I need a typing course or a better editor! Well, maybe. John, is proc unreadable? No. Its better than the =3D=3D = stuff I see in C or JavaScript. Its not unreadable at all. It might also shorten code. However, I've never found a problem with procedure. Jiri,= If you need a typing course, then don't send mail to the list anymore, an= d don't program anywhere. Jiri, constants: WHY?!!! Capitalize the name of the variable, if you cannot resist the urge, but why the extra noise? Be a little more explicit. If you are saying get rid of constants, then = my question is WHY? Its good programming practice. I'm in QBasic class rig= ht now, and we do everything in variables, even things like tax rates. Its = a eadibility and programming issue. Jiri wrote: comma separator: I do not know why I find it so irritating, so hideous, so BASIC like. White space would do the same job. Where? What? Look, I'm willing to hear you out, even IF (which is not t= he case) nobody else is. But you have to proofread what you write. You remind me of Mike, a classmate last year. His thoughts might have been gospel, but everytime he opened his mouth, his mind was thinking three times faster than he could speak. Jiri wrote: curly brackets: my pet hate. Probably the most frequent element in Euphoria code. And it requires a shift key! And I still can't do it by hand. The curly and square brackets must be switched at midnight on New Year's Eve! And do not wait for the year 2000! Switching is not bad. I have not found it a problem, but I can plainly s= ee your argument. But really, I've never been bothered at all! Are you goi= ng to complain about semicolons and pluses in Euphoria or other languages no= w? I know, how about getting the keyboard people to make a shiftless keyboa= rd layout. Jiri wrote: types, type checking: this is a biggy, almost certainly the most useless feature of Euphoria - all reasons proffered for its existence are at best metaphysical. As John asked, are you serious? One must check if arguments are legal. = Would you like to have a calculation crash because way back there month w= as entered as 13/ Social security could crash that way because of a typo. Jiri wrote: variable declaration: even BASICs have automatic variable declaration. What do you mean? > If you accept my previous point about a total uselessness of types, Which I don't > and I expect the more orthodox types among you (sorry about the > pun), especially some youngsters, might have a real problem with > it, then it follows we should have just one type: objects. You are suggesting that these object declarations are like constants now,= that their "type" just be determined internally. > And they would be automatically declared at, and their names recognized= > as valid from the point of the first assignment. Note, we would > still need the sequence(), atom() and integer() functions! Jiri, Jiri, Jiri. What's the point? If there's only one type (objects),= then how can you test for other types? YOU HAVE ONE TYPE. >This is roughly all I can think of right now with a throbbing headache >- the second bout of flu this winter, and I even had a flu shot at the >beginning of the season. Lie down before you e-mail us. Seriously. Like I said, I'm listening, a= nd took the time (when I should be writing a news story) to respond. I'm no= t putting you down, but some of what you said is awlfully off base. --Alan =