×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Use of the word "code"

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?

 

- Steve

Replies continue below

Recommended for you

RE: Use of the word "code"

From Dictionary.com

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"

(OP)
Thanks, but you'll notice that the use of "code" to describe an entire engineering package isn't on that list.  Your highlighted text is effectively "source code".  The question remains.

- 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"

Fascinating question.

"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"

Interesting topic!

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"

To me, "code" means "source code" (a mass noun rather than a count noun), not any kind of compiled product like a program, application, module, etc.  If someone were to tell me he has some codes to sell me, I would think he meant books of standard specifications.

Hg

Eng-Tips policies:  FAQ731-376: Eng-Tips.com Forum Policies

RE: Use of the word "code"

(OP)
Do a google search on "cfd code" and "cfd program".  It's about 6:1 in favour of "code".  If you read the CFD vendor's pages the marketing stuff uses (gulp) "solution" or (not so bad) "package", but the main meat of the text always uses "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"

The word "code" is used, at least among "coders", to refer to the human- readable source, the machine- readable binaries, and any of the intermediate forms produced or used by compilers, assemblers, linkers, loaders and assorted other tools that you, as a user, should never see or become aware of.

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"

Code is written in Fortran or assembly. Applications are written in C++

????

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"

I refer to my LISP/VBA efforts in AutoCAD as '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"

I often hear of what I used to know as source code being called script.  I don't know if this is just company terminology or whether it is more widely used.    For instance "Have you coded it?" has now been replaced by "Have you scripted it?".  Sounds quite alien.

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"

Script...My mother always thought she was no good at programming.  Then she ended up in AIX world, and after a few months of "writing scripts" she realized that's exactly what she was doing.

Hg

Eng-Tips policies:  FAQ731-376: Eng-Tips.com Forum Policies

RE: Use of the word "code"

(OP)
Taking my own thread slightly OT, "scripts" are written by IT people to automate mundane tasks.  "code" is written by programmers.
 

- Steve

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close