From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,baaf5f793d03d420 X-Google-Attributes: gid109fba,public X-Google-Thread: 1014db,6154de2e240de72a X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,97188312486d4578 X-Google-Attributes: gid103376,public From: rav@goanna.cs.rmit.edu.au (++ robin) Subject: Re: Should I learn C or Pascal? Date: 1996/07/25 Message-ID: <4t6h95$j6u@goanna.cs.rmit.edu.au>#1/1 X-Deja-AN: 170288244 references: organization: Comp Sci, RMIT, Melbourne, Australia newsgroups: comp.lang.c,comp.lang.c++,comp.lang.ada nntp-posting-user: rav Date: 1996-07-25T00:00:00+00:00 List-Id: Crash writes: >An algorithm is just a set of instructions on how to accomplish a task. An >algorithm does not depend at all on any sort of programming "language". In >fact, I was taught that you should write out your "game plan" and psuedo >code before you even touch any sort of syntax in any language. Yes, I do >tend to write up my psuedo-code in a C-like syntax frequently but you >don't need to. > Loop until variable is equal to 7 > Add 1 to variable > Print out the following string to screen: ;-) > end of loop >There's an algorithm written in plain english. ---To be an algorithm, it must be definite. This one isn't. The variable "variable" is never initialized. It's a stupid algorithm, >I'll give you that, but one none the less and it's not written in any >programming "lanugage/syntax" I have ever worked with.