mikegonta wrote:It's all right, though Gerry's syntax is fine with me. I'm fine with pushing more complex condition bodies off into their own routines.
I see that you recognize that in idiom loops and conditionals can be nested (something that Gerry is totally against).
Small, simple routines are a great suggestion for developing great code.
However, unless the compiler can inline these, it's not really a suggestion, but a language requirement.
And I think that less requirements are better.
I prefer less requirements too, but implementing plain English without inlining means
integer addition requires a subroutine call. I don't really want to special-case addition; I want operations for which there is no symbol to receive the same inlining treatment if appropriate. I'm not sure if CAL-4700 inlines automatically; I had a look just now and reached an ambiguous dead end. I keep running into such things. Anyway, I may not understand all parts of Gerry's compiler, but inlining in general hasn't scared me since Jonesforth. The INLINE word instructs Jonesforth to inline one machine-code definition within another. If CAL-4700 doesn't inline automatically, I might try to add the same feature. Then again, I don't think automatic inlining really need be any more complex.
I was amazed by nested loops when I was first learning to program. However, I've noticed that anything which is amazing wonderful and especially elegant to some programmers is wrong bad and sick to others.
The older I get, the more I can see both sides; everything has pros and cons. Nested loops pretty-much require indentation, increasing complexity of the text editor and worse, its interface. I'm fine with indentation in editors which have tabs and, when you start a new line, simply copy indentation from the line the cursor is on, but many text editors don't quite work like that and I get confused. Why don't they work like that, and how many programmers will tell me my text editor isn't working right if it does? I don't want to know!
Besides this, I've always been interested in mobile scripting if not outright programming, but I've never figured out a suitable replacement for indentation to mark nesting. Lack of nesting takes the problem away.
I want to consider the rest, but I'm having one of my exceptionally tired phases and can't think it through properly. I did figure out why I didn't like the semicolons: It's because I've been trying to train myself not to write run-on sentences for years.
That's not a technical reason, I'm sure the language is just fine with semicolons, but it reminds me of my old friend's reaction when I showed him Gerry's plain English code. It looked too much like something for young children for his taste. He wants something like another evolution of BASIC, but I'm getting on so much better with plain English that I want to stick with it for now, or something like it. Regardless of all I've said, Idiom might well be my next language.