Click here to Skip to main content
15,920,896 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: convert Metric to English and English to Metric using pseudocode [modified] Pin
Stephen Hewitt10-Dec-06 14:27
Stephen Hewitt10-Dec-06 14:27 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12310-Dec-06 15:24
#12310-Dec-06 15:24 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Paul Conrad10-Dec-06 15:44
professionalPaul Conrad10-Dec-06 15:44 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12310-Dec-06 16:26
#12310-Dec-06 16:26 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Paul Conrad10-Dec-06 16:34
professionalPaul Conrad10-Dec-06 16:34 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Stephen Hewitt10-Dec-06 15:44
Stephen Hewitt10-Dec-06 15:44 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Dave Kreskowiak15-Dec-06 8:01
mveDave Kreskowiak15-Dec-06 8:01 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12310-Dec-06 16:22
#12310-Dec-06 16:22 
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?
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Stephen Hewitt10-Dec-06 16:31
Stephen Hewitt10-Dec-06 16:31 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12310-Dec-06 16:41
#12310-Dec-06 16:41 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Stephen Hewitt10-Dec-06 16:49
Stephen Hewitt10-Dec-06 16:49 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12310-Dec-06 16:58
#12310-Dec-06 16:58 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Stephen Hewitt10-Dec-06 18:58
Stephen Hewitt10-Dec-06 18:58 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
El Corazon11-Dec-06 4:38
El Corazon11-Dec-06 4:38 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12311-Dec-06 4:55
#12311-Dec-06 4:55 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
El Corazon11-Dec-06 5:25
El Corazon11-Dec-06 5:25 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Stephen Hewitt11-Dec-06 12:20
Stephen Hewitt11-Dec-06 12:20 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12311-Dec-06 12:35
#12311-Dec-06 12:35 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Stephen Hewitt11-Dec-06 12:38
Stephen Hewitt11-Dec-06 12:38 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12311-Dec-06 13:00
#12311-Dec-06 13:00 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Stephen Hewitt11-Dec-06 13:05
Stephen Hewitt11-Dec-06 13:05 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
El Corazon11-Dec-06 16:55
El Corazon11-Dec-06 16:55 
GeneralRe: convert Metric to English and English to Metric using pseudocode Pin
#12311-Dec-06 18:43
#12311-Dec-06 18:43 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
El Corazon11-Dec-06 18:50
El Corazon11-Dec-06 18:50 
GeneralRe: convert Metric to English and English to Metric using pseudocode Pin
Paul Conrad11-Dec-06 19:39
professionalPaul Conrad11-Dec-06 19:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.