|
Shog9 wrote: In other words, you reply to promote your ideas.
Doesn't everyone? Or are you responding for someone else?
Shog9 wrote: Example: i think this thread at one time had something to do with UOM conversions...
Check back, Shog. The topic was pseudocode. And the link between pseudocode and Plain English code is both short and direct.
Besides, you know how I hate to see beginners get off on the wrong foot. How could I resist?
|
|
|
|
|
Shog9 wrote: (BTW - since most of us know you only by your ideas, drawing a distinction between them and yourself is somewhat pointless)
On the contrary, the ideas (at least the good ones) existed long before I did, and will certainly live on long after I'm dead. I'm just a "link in the chain" - a present voice enunciating eternal truths in ways suited to my contemporaries. Others have gone before me, and still others will pick up the torch when I'm gone.
By the way, what do you see as your role in the great scheme of things?
|
|
|
|
|
The Grand Negus wrote: On the contrary, the ideas (at least the good ones) existed long before I did, and will certainly live on long after I'm dead.
Quite likely. But the ideas that you espouse, good and bad, identify you. A quick scan through this thread reveals three examples of pseudocode, each unique (within the context of this thread at least). You are known in this thread by your pseudocode. You are also known in this thread by your bringing up the notion of a compiler that accepts a pseudocode-like syntax as input (although, it wouldn't exactly be pseudocode in that case). This latter idea is the one you've become known for, to the extent that separating you from the idea isn't an activity likely to be seen as productive by... anyone here.
The Grand Negus wrote: By the way, what do you see as your role in the great scheme of things?
Grease on the cogs, catalyst in the concoction. Maybe.
|
|
|
|
|
Shog9 wrote: This latter idea is the one you've become known for, to the extent that separating you from the idea isn't an activity likely to be seen as productive by... anyone here.
Which is a shame. And something, frankly, that I don't understand. Our message, stated in many ways and in many places in these forums, is this: Programming isn't fun anymore. It's not fun to learn, it's not fun to teach, and it's certainly not fun as an occupation. One can no longer master the machine, the operating system, or the development tools - they're just too damn and unnecessarily complicated. But since no one can create who is not master of his tools, the image of God in us - the little creator made after the pattern of the Big Creator - is squelched. The whole thing, therefore, must be simplified or we die (or at least the only part of us that matters, the creative part, dies).
And what steps do we recommend? Well... y'know.
Shog9 wrote: Grease on the cogs, catalyst in the concoction. Maybe.
Fair enough. Start there. But take care not to weary in well-doing, and don't let cowardice or laziness or both keep you from the next step. You're clearly much too gifted to spend your life as an oil can.
|
|
|
|
|
The Grand Negus wrote: Our Plain English development system
Haven't you taken the hint that most people here are not interested in Plain English? This site is a Microsoft technologies based site.
If you try to write that in English, I might be able to understand more than a fraction of it. - Guffa
|
|
|
|
|
PaulC1972 wrote: Haven't you taken the hint that most people here are not interested in Plain English?
Define "most". Supply verifiable numbers to support your definition.
|
|
|
|
|
The Grand Negus wrote:
Supply verifiable numbers to support your definition.
That's not necessary, just look at the "nasty" replies you get
If you try to write that in English, I might be able to understand more than a fraction of it. - Guffa
|
|
|
|
|
PaulC1972 wrote: That's not necessary, just look at the "nasty" replies you get
But from how many of the larger community here? A handful of cranks do not a majority make. Besides, I don't say what I say because it's popular (or not). I say these things simply because I believe them to be true. In other words, even if I got three million nasty remarks on this forum, I'd still be compelled to say the same kind of things.
|
|
|
|
|
The Grand Negus wrote: I say these things simply because I believe them
That's fine and dandy, we all are entitled to it.
If you try to write that in English, I might be able to understand more than a fraction of it. - Guffa
|
|
|
|
|
>> do not a majority make
Yoda! You're back!
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
|
|
|
|
|
Or more succinctly:
f = 9/5*c+32
Where "c" is degrees centigrade and "f" is degrees in fahrenheit.
This is clearer in every way.
-- modified at 20:39 Sunday 10th December, 2006
Not only is it clearer but also more useful. Using the basic rules of algebra I can derive the f->c conversion as follows:
f = 9/5*c+32
f-32 = 9/5*c
(f-32)*5 = 9*c
(f-32)*5/9 = c
So
c = (f-32)*5/9
Steve
|
|
|
|
|
Stephen Hewitt wrote: Or more succinctly:
f = 9/5*c+32
Where "c" is degrees centigrade and "f" is degrees in fahrenheit.
And what language is that last line?
Stephen Hewitt wrote: Not only is it clearer but also more useful. Using the basic rules of algebre I can derive the f->c conversion as follows:
f = 9/5*c+32
f-32 = 9/5*c
(f-32)*5 = 9*c
(f-32)*5/9 = c
So
c = (f-32)*5/9
Let me make this perfectly clear, at least between you and I, once and for all.
We're not saying that algebra is useless, or that algebraic notation is less appropriate than Plain English for certain specific tasks. We're saying that algebraic notation is more easily thought of as a sub-language of English rather than the reverse. We're saying that an intelligent machine should understand both; specifically, it should understand the sub-language in the context of the larger, natural language - exactly as you have used both "languages" in the quotations above. The letters "c" and "f" can be appropriate abbreviations, in certain contexts, but only if their meanings are clearly defined at a higher, more descriptive level.
The reason we are emphasizing (at this time) the natural language aspect is that computers already know how to parse, manipulate, and otherwise process algebraic notation - but they don't know how to deal with natural languages with the same level of expertise. And because most programmers are unaware of the amazing power and flexibility that natural languages possess. C'mon - off the top of your head, would you think that an efficient native-code-generating compiler could be conveniently written in English?
|
|
|
|
|
The Grand Negus wrote: algebraic notation is less appropriate than Plain English for certain specific tasks
Isn't it possible for you to have any kind of discussion in these forums without uttering "Plain English"? I am starting to think it is not possible...
If you try to write that in English, I might be able to understand more than a fraction of it. - Guffa
|
|
|
|
|
PaulC1972 wrote: Isn't it possible for you to have any kind of discussion in these forums without uttering "Plain English"? I am starting to think it is not possible...
Actually, I've discussed many different things here. This very thread contains a reference to a post I made today regarding Latex where Plain English is not mentioned at all.
But we came here specifically to discuss issues illustrated in our Plain English development system, and so it is not surprising that most of our posts address those same issues. We're not here to "socialize". We're on a mission...
|
|
|
|
|
The Grand Negus wrote: We're not here to "socialize". We're on a mission...
Mission to annoy...
If you try to write that in English, I might be able to understand more than a fraction of it. - Guffa
|
|
|
|
|
The Grand Negus wrote: And what language is that last line?
I've got nothing against English; my gripe is with the use of English in an inappropriate context.
The Grand Negus wrote: We're not saying that algebra is useless, or that algebraic notation is less appropriate than Plain English for certain specific tasks.
I agree with this sentiment. However, going back to the point I made above, a formula with some definitions in English as I gave above is a much better way to present the c->f conversion algorithm than English. In short, I contend that your example was a bad example of the merits of plain English.
Steve
|
|
|
|
|
The Grand Negus wrote: Stephen Hewitt wrote:
Or more succinctly:
f = 9/5*c+32
Where "c" is degrees centigrade and "f" is degrees in fahrenheit.
And what language is that last line?
The language is math, or more specifically, algebra! The writing of the sentence is in the script of English.
Computers and programming were invented in the images of math and science, which has its own miriad of languages.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Stephen Hewitt wrote: In short, I contend that your example was a bad example of the merits of plain English.
Agreed. Mathematical relations are a weak point in every natural language; that's why things like algebraic notation are invented in the first place. But I didn't get the choose the example here - the problem assigned by the instructor was clearly math-centric. Nevertheless, I'm quite sure that a complete solution to the given problem - including the interface, etc - would include a much smaller percentage of formulaic matter and would therefore benefit from the "compiled pseudocode" I recommended.
It's not unlike a MIDI music machine I programmed years ago on and Apple II. There were certain routines that, for performance, had to be written in assembler. But the bulk of the program was much more easily written, tested, modified, and perfected in Applesoft Basic (a more English-like language).
Besides, formulaic languages reach their "limits" very quickly (no pun intended). Consider, for example, this natural language description of an object:
a two-inch aluminum cube with a quarter-inch spherical void at its center What's the formula for that? And for the other zillion things that can be easily described in half a sentence but that nevertheless defy mathematical description?
|
|
|
|
|
I agree that English has its place; just not where you used it. It seems you concede this point so I won't go on about it.
The Grand Negus wrote: a two-inch aluminum cube with a quarter-inch spherical void at its center
What's the formula for that?
You could describe this mathematically in many ways but I agree that for many uses an English description or a diagram would be superior. However, if you wanted to figure the required volume of aluminum required a mathematical description would be preferable.
The Grand Negus wrote: Besides, formulaic languages reach their "limits" very quickly (no pun intended).
I think that pun was intended
Steve
|
|
|
|
|
Stephen Hewitt wrote: However, if you wanted to figure the required volume of aluminum required a mathematical description would be preferable.
Not necessarily. Recall the story of Henry Ford who, encountering one of his engineers feverishly working out the volume of an oddly-shaped fuel tank, simply filled the thing with water and poured the contents into a graduated cylinder. Point being, the "mathematical" approach is not always the most effective. And in our opinion, much less often than commonly assumed. Did you, for example, "calculate" your way to the store the other day, or did you use other methods of measurement, comparison, and decision making? When you reach for the mouse, do you have trigonometry, consciously or unconsciously, on your mind?
|
|
|
|
|
The Grand Negus wrote: Not necessarily. Recall the story of Henry Ford who, encountering one of his engineers feverishly working out the volume of an oddly-shaped fuel tank, simply filled the thing with water and poured the contents into a graduated cylinder.
I take your point but immersing an aluminum cube with a void in the center will measure the volume of the cube including the void. You would have to fill the void with fluid to figure out how much to subtract since I was after how much aluminum was required. Based on the description of the shape, to get access to the void I would have to drill a hole in the box. In this case the mathematical approach seems best.
The Grand Negus wrote: Did you, for example, "calculate" your way to the store the other day, or did you use other methods of measurement, comparison, and decision making? When you reach for the mouse, do you have trigonometry, consciously or unconsciously, on your mind?
Mainly memory but I can say little out what method my mind used internally.
Steve
|
|
|
|
|
Stephen Hewitt wrote: Mainly memory but I can say little about what method my mind used internally.
But that is exactly what we're trying to figure out. And we not interested in "higher mathematics" at this point because we're convinced there are no higher mathematics going on in, say, a two-year-old's mind when he understands and properly responds to simple commands.
|
|
|
|
|
The Grand Negus wrote: we're convinced there are no higher mathematics going on in
I don't agree with that. I'm quite sure there's all kind of complex operations taking place, many of which would be best described and understood mathematically.
Steve
|
|
|
|
|
Stephen Hewitt wrote: and understood mathematically
Actually you are fully correct and well... the other, never mind.
What the human brain does is parallel thought, what we think of as "lacking" mathematical thought is actually extremely complex mathematical relationships. From 3D vision, distance estimation, location memorization (and planning), everything that we do can be represented mathematically.
One of the great shocks to scientists was discovering how bees give away location in their "dance" to find new places of nectar. The result was a 6-dimensional description of air-flight to the location, 6D being a shorter description similar to a quaternions (4D) being an excellent representation of 3D spatial references. Are human beings mathematically deficient because we don't use 6D? No, on the contrarary, some of the mathematics we use are so complex, yet automatically solved by the human brain that we are still working on figuring it out.
Everything you do from typing, reading this text, to putting your socks and shoes on in the morning takes into account extremely complex mathematical relationships as an automatic reflex. But just because the mathematics are solved by reflex and subconcsious does not mean the math is lacking. Trust me, it is there, in huge volumes!
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
|
|
|
|
|
Stephen Hewitt wrote: I'm quite sure there's all kind of complex operations taking place
Seriously, this is not the case. There are all sorts of simple operations taking place, the combination of which results in apparently complex behavior. Jeffry, in the following post, is simply wrong. While these complex behaviors can be described - the hard way - with complex mathematics, this does not mean that they are the result of, or generated by, those same complex mathematics.
Let's say, for example, that I write up a little program where dots on the screen appear to approach/flee from one another based on color and proximity; the program uses nothing but simple coordinates and two addition operations (add 1, subtract 1). Some genius, of course, might look at the whole pattern after, say, a hundred steps, and may also be able to devise a complex formula that describes the composite path taken by each little dot. But if he thought that that formula was the source of that path - or that anything remotely like that was processed in the program - he would be completely wrong.
Check out the introduction to this article [^] that describes an apparently complex behavior of ants - and the remarkably simple cause underlying it. No complex math in sight.
|
|
|
|
|