Use of the word "code"
Use of the word "code"
(OP)
(This question was already raised in the CFD forum, but I feel it deserves a wider audience.)
Many computer analysis programs are commonly referred to as "codes", particularly in the fields of CFD and FEA. I've just sat through a sales pitch from a company that sells acoustic software. The presenter immediately started using the word "code" to describe their product.
It seems to me that the word is mainly used when the program includes some kind of standalone solver in an engineering context. I find myself using the word without thinking and I can't explain to myself or others when it is appropriate.
One poster in the CFD forum hinted that it's a throwback to the days when simulations were distributed via source code. This doesn't satisfy me completely because it's a slightly different meaning:
"(source) code" is clear enough to me. It is text that can be compiled into a program.
"A code" though generally means an entire program, often a suite of programs. But only certain types of program (?).
Does anyone have any clear answers?
Many computer analysis programs are commonly referred to as "codes", particularly in the fields of CFD and FEA. I've just sat through a sales pitch from a company that sells acoustic software. The presenter immediately started using the word "code" to describe their product.
It seems to me that the word is mainly used when the program includes some kind of standalone solver in an engineering context. I find myself using the word without thinking and I can't explain to myself or others when it is appropriate.
One poster in the CFD forum hinted that it's a throwback to the days when simulations were distributed via source code. This doesn't satisfy me completely because it's a slightly different meaning:
"(source) code" is clear enough to me. It is text that can be compiled into a program.
"A code" though generally means an entire program, often a suite of programs. But only certain types of program (?).
Does anyone have any clear answers?
- Steve
RE: Use of the word "code"
Code:
1. a system for communication by telegraph, heliograph, etc., in which long and short sounds, light flashes, etc., are used to symbolize the content of a message: Morse code.
2. a system used for brevity or secrecy of communication, in which arbitrarily chosen words, letters, or symbols are assigned definite meanings.
3. any set of standards set forth and enforced by a local government agency for the protection of public safety, health, etc., as in the structural safety of buildings (building code), health requirements for plumbing, ventilation, etc. (sanitary or health code), and the specifications for fire escapes or exits (fire code).
4. a systematically arranged collection or compendium of laws, rules, or regulations.
5. any authoritative, general, systematic, and written statement of the legal rules and principles applicable in a given legal order to one or more broad areas of life.
6. a word, letter, number, or other symbol used in a code system to mark, represent, or identify something: The code on the label shows the date of manufacture.
7. Computers. the symbolic arrangement of statements or instructions in a computer program in which letters, digits, etc. are represented as binary numbers; the set of instructions in such a program: That program took 3000 lines of code. Compare ASCII, object code, source code.
8. any system or collection of rules and regulations: a gentleman's code of behavior.
RE: Use of the word "code"
- Steve
RE: Use of the word "code"
I think that the word algorithm better describes the structured assembly of code that programmers of CFD and FEA software use to solve a particular problem.
Trevor Clarke. (R & D) Scientific Instruments.Somerset. UK
SW2007x64 SP3.0 Pentium P4 3.6Ghz, 4Gb Ram ATI FireGL V7100 Driver: 8.323.0.0
SW2007x32 SP4.0 Pentium P4 3.6Ghz, 2Gb Ram NVIDIA Quadro FX 500 Driver: 6.14.10.7756
RE: Use of the word "code"
"code" somehow seems more Englishy and engineeringy.
Where "app" is American and commercey.
Some people still use "programME" for computer programs
That seems a bit tweed jackety to me.
Totally elbow patch.
RE: Use of the word "code"
Around here, as in Dilbert comics, "code" is any amount of programming logic. I can write one line of code, or slam out volumes of code.
When I compile it all into a working system, it becomes an application or suite of applications...
Let's hear from the others out there!
Good on ya,
Goober Dave
RE: Use of the word "code"
Hg
Eng-Tips policies: FAQ731-376: Eng-Tips.com Forum Policies
RE: Use of the word "code"
Forgive me for being pedantic, but this really is "Engineering language". In no other software field would vendors describe their products as "codes".
- Steve
RE: Use of the word "code"
Many of the best coders are artsy types, with strong visualization skills, and weak language skills. I.e., they can program a computer to compose a coherent sentence, but they, personally, can't. So thank your lucky stars that they didn't come up with a totally synthetic word.
The word "algorithm" is distinct from "code". An algorithm is a recipe, usually in civilian- readable form, i.e. coherent sentences, and specifically _not_ in "source code", describing "how" to make a computer do something. An algorithm is not itself a program. A program would comprise one particular way to implement an algorithm.
Mike Halloran
Pembroke Pines, FL, USA
RE: Use of the word "code"
????
I think you were very close to the mark with your first post, if there is a solver of some sort (FEA, CFD, MBD) that the rest of the program is just a front end for, then it tends to get called code.
The opposite would be something like Excel where the GUI is 99% of the programming effort, the computational core small (at a guess).
Do people refer to CAD codes, or programs, or apps?
Cheers
Greg Locock
SIG:Please see FAQ731-376: Eng-Tips.com Forum Policies for tips on how to make the best use of Eng-Tips.
RE: Use of the word "code"
Is it C++ or C# these days? I haven't programmed with it in 15 years and recently got corrected by a programmer at a party when I called it C++.
Kif Kroker: "Yes, I programmed it in for you. Four million lines of Basic!"
RE: Use of the word "code"
Matt Lorono
CAD Engineer/ECN Analyst
Silicon Valley, CA
Lorono's SolidWorks Resources
Co-moderator of Solidworks Yahoo! Group
and Mechnical.Engineering Yahoo! Group
RE: Use of the word "code"
If speakers, guest or otherwise (especially non-technical management) refer to programs as code, I will actually ask them, stating that use of the wrong terminology in engineering environments which deal with cryptology can confuse people. So far, I haven't had a case where the person hasn't corrected himself on later presentations.
RE: Use of the word "code"
Hg
Eng-Tips policies: FAQ731-376: Eng-Tips.com Forum Policies
RE: Use of the word "code"
- Steve